I am using below code to store individual video frame. It's not stored as color (RGB) image. it's stored as a Gray scale Image. convert color is also not working. How to fix this?
CV_8UC1, //< BGR color space (default for OpenCV)
cv::cvtColor(img, img_color, CV_GRAY2RGB);
Any help would be appreciable.
Please sign in to leave a comment.