Opencv does not define identifier cv_ CAP_ PROP_ FRAME_ COUNT

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: