Updated: October 28, 2024 |
Create an OpenCV Mat instance from an ADAS pixel buffer
#include <adas/adas_opencv.h>
adas_error_t adas_opencv_create_mat_from_pixel_buffer( adas_pixel_buffer_handle_t pixel_buffer_handle, cv::Mat &mat)
The Mat instance created by this function must be deleted in OpenCV when it is no longer required.
ADAS_EOK when the function successfully completes, otherwise another adas_error_t value that provides the reason that the call failed.