Tracking single object using computer vision system toolbox

2 views (last 30 days)
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

Answers (1)

Dima Lisin
Dima Lisin on 7 Dec 2015
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();

Categories

Find more on Computer Vision Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!