Tracking single object using computer vision system toolbox
조회 수: 4 (최근 30일)
이전 댓글 표시
I have a video which is mainly consist of a wire( in black) and the background is sky
I want to detect the movement on upper side and lower side of the wire( vibrations )and store them and finally plot them. I had a look on one of MATLAB examples multiple object tracking and I want to adopt the same approach on my own video.
When I am trying to change the video input I am receiving these error(s) I am new to MATLAB and I do not have any clue how to resolve it
Attempt to reference field of non-structure array.
Error in extmgr.Driver/loadConfigSet (line 70) allTypes = {allRegisters.Type};
Error in extmgr.Driver/init (line 42) configSetLoaded = loadConfigSet(this, varargin{:});
Error in extmgr.Driver (line 25) this.init(varargin{:});
Error in uiscopes.Framework/initializeExtensionSystem (line 19) this.ExtDriver = extmgr.Driver(this, 'scopext.m', ...
Error in uiscopes.Framework (line 110) initializeExtensionSystem(this);
Error in uiscopes/new (line 25) hScope = uiscopes.Framework(hScopeCfg, varargin{:});
Error in matlabshared.scopes.SystemScope/launchScope (line 177) hFramework = uiscopes.new(hScopeCfg);
Error in matlabshared.scopes.SystemScope (line 46) launchScope(obj);
Error in vision.VideoPlayer (line 75)
Error in merytrack/setupSystemObjects (line 85) obj.videoPlayer = vision.VideoPlayer('Position', [20, 400, 700, 400]);
Error in merytrack (line 48) obj = setupSystemObjects();
merytrack Attempt to reference field of non-structure array.
Error in extmgr.Driver/loadConfigSet (line 70) allTypes = {allRegisters.Type};
Error in extmgr.Driver/init (line 42) configSetLoaded = loadConfigSet(this, varargin{:});
Error in extmgr.Driver (line 25) this.init(varargin{:});
Error in uiscopes.Framework/initializeExtensionSystem (line 19) this.ExtDriver = extmgr.Driver(this, 'scopext.m', ...
Error in uiscopes.Framework (line 110) initializeExtensionSystem(this);
Error in uiscopes/new (line 25) hScope = uiscopes.Framework(hScopeCfg, varargin{:});
Error in matlabshared.scopes.SystemScope/launchScope (line 177) hFramework = uiscopes.new(hScopeCfg);
Error in matlabshared.scopes.SystemScope (line 46) launchScope(obj);
Error in vision.VideoPlayer (line 75)
Error in merytrack/setupSystemObjects (line 85) obj.videoPlayer = vision.VideoPlayer('Position', [20, 400, 700, 400]);
Error in merytrack (line 48) obj = setupSystemObjects();
>> edit multipleObjectTracking >> multiObjectTracking Attempt to reference field of non-structure array.
Error in extmgr.Driver/loadConfigSet (line 70) allTypes = {allRegisters.Type};
Error in extmgr.Driver/init (line 42) configSetLoaded = loadConfigSet(this, varargin{:});
Error in extmgr.Driver (line 25) this.init(varargin{:});
Error in uiscopes.Framework/initializeExtensionSystem (line 19) this.ExtDriver = extmgr.Driver(this, 'scopext.m', ...
Error in uiscopes.Framework (line 110) initializeExtensionSystem(this);
Error in uiscopes/new (line 25) hScope = uiscopes.Framework(hScopeCfg, varargin{:});
Error in matlabshared.scopes.SystemScope/launchScope (line 177) hFramework = uiscopes.new(hScopeCfg);
Error in matlabshared.scopes.SystemScope (line 46) launchScope(obj);
Error in vision.VideoPlayer (line 75)
Error in multiObjectTracking/setupSystemObjects (line 85) obj.videoPlayer = vision.VideoPlayer('Position', [20, 400, 700, 400]);
Error in multiObjectTracking (line 48) obj = setupSystemObjects();
can anyone help ?
Thanks a lot
댓글 수: 0
답변 (1개)
Dima Lisin
2015년 12월 7일
Hi, can you please tell us which version of MATLAB, and what kind of operating system you are using?
In the mean time, try replacing line 85
obj.videoPlayer = vision.VideoPlayer('Position', [20, 400, 700, 400]);
with
obj.videoPlayer = vision.DeployableVideoPlayer();
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Tracking and Motion Estimation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!