1 | initial version |
The line cout << "\n " << CV_CAP_PROP_FPS << "\n "
will print the value of MACRO CV_CAP_PROP_FPS which may be 5, instead you need to use cap.get(CV_CAP_PROP_FPS) to get the frame rate.
2 | No.2 Revision |
The line cout
will print the value of MACRO CV_CAP_PROP_FPS which may be 5, instead you need to use cap.get(CV_CAP_PROP_FPS) to get the frame rate.<< "\n " << CV_CAP_PROP_FPS << "\n "