Reading Video Frames from Cameras
This API is used to read a video frame. Note that the IP camera and MP4 video return the YUV_NV21 color data, while the UV camera returns the BGR color data.
- API calling
hilens.VideoCapture.read()
- Return Value
One frame of video data. The parameter type is NumPy array (dtype is uint8), which is compatible with CV2.
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