Error deploying track object on Raspberry Pi. 'raspiObjectTracker'

2 ビュー (過去 30 日間)
YUHAO
YUHAO 2023 年 3 月 29 日
回答済み: David Fink 2023 年 4 月 25 日
Hello everyone,
I'm trying to deploy track object using DL on Raspberry Pi follow this example of Detect and Track Object Using Deep Learning on Raspberry Pi, however, it gives me the following error:
The function is:
function obj = raspiObjectTracker()
%RASPIOBJECTTRACKER Construct an instance of this class
% Detailed explanation goes here
hb = raspi.internal.BoardParameters(obj.BoardDetails.Name);
hostname = hb.getParam('hostname');
username = hb.getParam('username');
password = hb.getParam('password');
obj.BoardDetails.DeviceAddress = hostname;
obj.BoardDetails.UserName = username;
obj.BoardDetails.Password = password;
end
Has anyone experienced this error, and could provide some help?
Thanks in advance.
  2 件のコメント
MathWorks MATLAB Hardware Team
MathWorks MATLAB Hardware Team 2023 年 4 月 25 日
Hi,
Can you please try following steps?
  • Execute this in MATLAB command window
>> openExample('raspberrypiio/DetectAndTrackObjectUsingDeepLearningOnRaspberryPiExample')
>> edit raspiObjectTracker
  • At line no. 49, replace "hb = raspi.internal.BoardParameters(obj.BoardDetails.Name);" with "hb = codertarget.linux.remotebuild.BoardParameters(obj.BoardDetails.Name);"
  • And then execute following command and follow the steps as metioned in the example
>> rehash toolboxcache; rehash path; rehash;
Thanks,
MATLAB Hardware Team
MathWorks
YUHAO
YUHAO 2023 年 4 月 25 日
編集済み: YUHAO 2023 年 4 月 25 日
Hello.
It worked!. It no longer returns an error after executing the first command.
Thank you very much!

サインインしてコメントする。

採用された回答

David Fink
David Fink 2023 年 4 月 25 日
See the comment from the MathWorks MATLAB Hardware Team, with instructions on updating a line in the example file raspiObjectTracker.m.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB Support Package for Raspberry Pi Hardware についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by