Outputting a Frame of Image
This section describes how to output a frame of image. When the following API is called for the first time, the output module sets the video size based on the input image size. In the subsequent calling, the skill must ensure that the input image size is the same as the previous one.
API Calling
virtual HiLensEC hilens::Display::Show(const cv::Mat & frame)
Parameter Description
Parameter |
Description |
---|---|
frame |
Image to be displayed. The image must be in the NV21 format. |
Return Value
If the return value is 0, the operation is successful. Otherwise, the operation fails. Refer to Error Codes for details about the failure response parameters.
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