Error : Could not find enough inliers in imagePoints and worldPoints. what should I do?
3 次查看(过去 30 天)
显示 更早的评论
I used estimateWorldCameraPose matlab function. I input the right data. However, error code is printed as followed.
what should I do to solve this problem?
"Could not find enough inliers in imagePoints and worldPoints."
ㄸ

0 个评论
回答(1 个)
Hovhannes Khasikyan
2020-11-11
You can use try catch block
try
[tform, inlierBoxPoints, inlierScenePoints] = estimateGeometricTransform(imagePoints, worldPoints, 'affine');
catch
disp('error')
end
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Computer Vision Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!