HKUST-Aerial-Robotics / VINS-Mobile

Monocular Visual-Inertial State Estimator on Mobile Phones
GNU General Public License v3.0
1.26k stars 524 forks source link

in function 'goodFeaturesToTrack' error #134

Open match08 opened 4 years ago

match08 commented 4 years ago

libc++abi.dylib: terminating with uncaught exception of type cv::Exception: OpenCV(3.4.6) /Volumes/build-storage/build/3_4_iOS-mac/opencv/modules/imgproc/src/featureselect.cpp:369: error: (-215:Assertion failed) _mask.empty() || (_mask.type() == CV_8UC1 && _mask.sameSize(_image)) in function 'goodFeaturesToTrack'

Bamboowand commented 4 years ago

The problem seems like this. https://answers.opencv.org/question/59585/goodfeaturestotrack-with-mask/