Fawkes API Fawkes Development Version
|
Adapter for OpenCV Mat. More...
#include <>>
Static Public Member Functions | |
static void | convert_image_bgr (unsigned char *buffer, cv::Mat &image) |
Convert image from buffer into cv::Mat. More... | |
static void | convert_image_yuv422_planar (cv::Mat &image, unsigned char *buffer) |
Convert image from cv::Mat into buffer. More... | |
Adapter for OpenCV Mat.
Conversion routines from FireVision buffers to OpenCV Mat.
Definition at line 33 of file cvmatadapter.h.
|
static |
Convert image from buffer into cv::Mat.
buffer | YUV422_PLANAR buffer of the same size as image |
image | cv::Mat the result will be written to in BGR notation |
Definition at line 44 of file cvmatadapter.cpp.
Referenced by firevision::FacesClassifier::classify().
|
static |
Convert image from cv::Mat into buffer.
image | cv::Mat with BGR notation |
buffer | YUV422_PLANAR of the same size to write the converted cv::Mat |
Definition at line 60 of file cvmatadapter.cpp.