Error : Could not find enough inliers in imagePoints and worldPoints. what should I do?
Show older comments
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."
ㄸ

Answers (1)
Hovhannes Khasikyan
on 11 Nov 2020
0 votes
You can use try catch block
try
[tform, inlierBoxPoints, inlierScenePoints] = estimateGeometricTransform(imagePoints, worldPoints, 'affine');
catch
disp('error')
end
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!