This is because of the high version of OpenCV, the function name has changed, and I have been checking it for a long time. Because I changed the opencv version.
It used to be cv_ CAP_ PROP_ FRAME_ Count
now there is no cv_ The prefix is too long.
cv::CAP_PROP_FRAME_COUNT
Read More:
- Undeclared identifier CV in opencv4.2.0_ WINDOW_ AUTOSIZE
- ImportError: dynamic module does not define module export function (PyInit_cv_bridge_boost)
- Error 1136 (21s01): column count doesn’t match value count at row 1
- cv2.error: OpenCV(3.4.2) error: (-215:Assertion failed) !empty() in function ‘detectMultiScale‘
- Error when using OpenCV: use of unclared identifier ‘CV_ Bgr2rgb ‘solution
- [Solved] CAP_IMAGES: can‘t find starting number (in the name of file)
- AttributeError: module ‘cv2.cv2‘ has no attribute ‘face‘
- [Vue warn]: Invalid prop: type check failed for prop “disabled“
- Successfully solved opencv error: assertion failed (SCN = = 3 | SCN = = 4) in CV:: cvtcolor
- Project files may be invalid appears when cmake compiles opencv3.1, and the debug additional dependency of the compiled opencv3.1 is at the end
- Opencv, CV2. Puttext() usage
- cv2.error: OpenCV(4.5.1) C:\Users\appveyor\AppData\Local\Temp\1\pip-req-buil
- Error c3861: identifier not found | identifier not found
- OpenCV error: (-215:Assertion failed) !_src.empty() in function ‘cv::cvtColor‘
- Opencv perfect configuration strategy 2015 (win7 + opencv 2.4.9 + vs 2013)
- Opencv problem: opencv error: assertion failed (! Empty()) in detectmultiscale
- [opencv + openvino] opencv-vino4.5.1 + opencv contrib installation
- cv2 error – function not implemented [How to Solve]
- Xcode Error: Embedded binary’s bundle identifier is not prefixed with the parent app’s bundle identifier