Ask Your Question

Karthikgowda's profile - activity

2020-04-04 12:38:37 -0500 received badge  Famous Question (source)
2019-04-10 03:28:49 -0500 received badge  Notable Question (source)
2018-06-14 15:35:33 -0500 received badge  Popular Question (source)
2016-08-25 23:43:19 -0500 asked a question Convert NV12 to RGB
        Mat yuv(720,1280, CV_8UC3);//I am reading NV12 format from a camera
         Mat rgb;

        cvtColor(yuv,rgb,CV_YUV2RGB_NV12);
       The resolution of rgb after conversion is 480X720

        cvtColor(yuv,rgb,CV_YCrCb2RGB);
       The resolution of rgb after conversion is 720X1280

However, using the above conversion I am not able to display a proper view of the images