Hi all,
I am planning to use FastCV in my opencv project. I am currently checking how to use the basic functions, then move on to the more advanced implementations. The general plan is to get video frames using OpenCV, process the frames using FastCV functions, then show the result using OpenCV again.
For instance, I am converting an RGB image to grayscale. This is very easy in OpenCV, but I could not use the corresponding FastCV function:
fcvColorRGB888ToGrayu8 (const uint8_t *__restrict src, uint32_t srcWidth, uint32_t srcHeight, uint32_t srcStride, uint8_t *__restrict dst, uint32_t dstStride)
The problem error is : cannot convert cv::Mat to const uint_8*.
How can I convert OpenCV Mat to something that is usable by FastCV functions?
Regards,
Peyman
hello,
Please refer this:
https://stackoverflow.com/questions/45847394/converting-cvmat-to-unsigne...
thanks