Why is the function 'oldInlierLocation' undefined?
Ältere Kommentare anzeigen
I am trying out the object detection and tracking for augmented reality Mathworks example. https://www.mathworks.com/videos/object-recognition-and-tracking-for-augmented-reality-90546.html
I have tried running the code but I am getting an error saying 'Unrecognized function or variable 'oldInlierLocation'. I have included a snippet of it below.
How do I define it? I am new to Matlab and I could not find any resources or answers on this.
if(nnz(isValid>=2))
[trackingGTransform,oldInlierLocation,newInlierLocation]= ...
estimationGeometricTransform(...
oldValidLocation,newValidLocation,'similarity');
end
figure(1)
showMatchedFeatures(prevCameraFrame,cameraFrame,...
oldInlierLocation,newInlierLocation,'Montage');
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Motion Detection finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!