Why is the function 'oldInlierLocation' undefined?
Mostrar comentarios más antiguos
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');
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Motion Detection en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!