Run target detection, import CV2 Normal, CV2. Write() is OK, but CV2. Imshow() has an error: function not implemented, prompting windows and Ubuntu to install libgtk2.0-dev and PKG config, re run cmake
PIP install opencv Python runs unresponsive.
Recall that Anaconda was installed later and uninstalled first. Sure enough, the original opencv relied on Python 3.8 of Ubuntu 20.04.
uninstall After installation, reinstall install and everything is normal.
Read More:
- ImportError: dynamic module does not define module export function (PyInit_cv_bridge_boost)
- (-2:Unspecified error) could not find a writer for the specified extension in function‘cv::imwrite_
- AttributeError: module ‘cv2.cv2‘ has no attribute ‘face‘
- cv2.error: OpenCV(3.4.2) error: (-215:Assertion failed) !empty() in function ‘detectMultiScale‘
- (-215:Assertion failed) 0 <= contourIdx && contourIdx < (int)last in function ‘cv::drawContours‘
- [How to Fix] Fatal error: init(coder:) has not been implemented
- OpenCV error: (-215:Assertion failed) !_src.empty() in function ‘cv::cvtColor‘
- RuntimeError: reciprocal is not implemented for type torch.cuda.LongTensor
- RuntimeError: log_vml_cpu not implemented for ‘Long’
- VBoxManage.exe: error: Resize hard disk operation for this format is not implemented yet!
- Run time error: “unfolded2d”_ copy“ not implemented for ‘Half‘
- RuntimeError: “unfolded2d_copy“ not implemented for ‘Half‘
- Hot Swap failed:add method not implemented
- Importerror: the perfect solution of no module named CV2!!! (not too good)
- An error is displayed when virtualbox uses modifyhd command to expand capacity: Resize medium operation for this format is not implemented yet
- Opencv does not define identifier cv_ CAP_ PROP_ FRAME_ COUNT
- Error occurred when Python called cv2.findcontours: valueerror: not enough values to unpack (expected 3, got 2)