Loading

Android端使用findHomography方法时报错

错误如下:

Unknown error code -28 (The input arrays should have at least 4 corresponding point sets to calculate Homography) in findHomography, file /build/master_pack-android/opencv/modules/calib3d/src/fundam.cpp, line 385

这是因为,一个矩形需要4个点,如果优化后的点小于4但还是调用findHomography方法,那就会报错

posted @ 2023-01-11 15:32  冲锋的麦克  阅读(171)  评论(0编辑  收藏  举报