Reading Video Frames from Cameras
This section describes how to read video frames. If an error occurs during camera reading, the exception message std::runtime_error will be displayed.
API Calling
virtual cv::Mat hilens::VideoCapture::Read()
Return Value
If the camera is an IPC or a local camera, YUV_NV21 data is returned. If the camera is a UVC camera, BGR data is returned.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot