An error is reported during contour detection in OpenCV
Just change the contents in the code to binary
Read More:
- cv2.error: OpenCV(3.4.2) error: (-215:Assertion failed) !empty() in function ‘detectMultiScale‘
- OpenCV error: (-215:Assertion failed) !_src.empty() in function ‘cv::cvtColor‘
- Successfully solved opencv error: assertion failed (SCN = = 3 | SCN = = 4) in CV:: cvtcolor
- Undefined reference to ‘CV:: imread (CV:: String const & int)’
- cv2 error – function not implemented [How to Solve]
- error: (-215:Assertion failed) !ssize.empty() in function ‘resize‘
- Opencv problem: opencv error: assertion failed (! Empty()) in detectmultiscale
- RT-thread assertion failed at function:rt_application_init
- AttributeError: module ‘cv2.cv2‘ has no attribute ‘face‘
- How to solve “import cv2 failed ImportError: DLL load fail: Cannot find the specified module” in Anaconda environment
- (-2:Unspecified error) could not find a writer for the specified extension in function‘cv::imwrite_
- Unity 3D – assertion failed: assertion failed on expression: ‘! Getmaineditorwindow()’ error
- Vs error unresolved external symbol_ Main, the symbol in the function “int”__ cdecl invoke_ main
- Assertion failed: Assertion failed on expression: ‘pred(* previous, *i)’
- Undeclared identifier CV in opencv4.2.0_ WINDOW_ AUTOSIZE
- make Error: error: cast from ‘int32_t*’ {aka ‘int*’} to ‘int’ loses precision [-fpermissive]
- The reason and solution of the error of join function: sequence item 0: expected STR instance, int found