Ask Your Question

chankit's profile - activity

2015-10-13 02:35:00 -0600 asked a question Converting from YUV420 to NV12 format with OpenCL acceleration

Hello folks,

I wonder if the function/method YUV2RGB_NVx() in https://github.com/Itseez/opencv/blob... does indeed convert YUV420 to NV12 or it just converts to RGB. It looks to me as the function converts YUV to RGB but I hope I'm proven wrong on that. Hence my post here.

If I'm right about my previous suggestion, does OpenCV have OpenCL acceleration for converting from YUV420 to NV12?

Thanks :-)

2015-05-25 22:15:40 -0600 asked a question OpenCV on wayland

I'm wondering if I can get OpenCV to work in Wayland? AFAIK, OpenCV uses X11 libs as well as GTK libs in its highgui library. So has anybody here managed to port OpenCV to Wayland? I've heard about enabling QT support in OpenCV is a good start but I'm not entirely sure about this. Also, I didn't see if OpenCV has official support or even a mention on Wayland.

Hence my question on OpenCV support on Wayland. Is it supported? If it's not, is there a plan to port OpenCV to Wayland?

2015-05-24 20:37:32 -0600 answered a question Trouble in hal module

Heh. it turned out that I have been using a wrong way of compiling OpenCV. It turned out that I need to use EXTRA_OECMAKE variable rather than doing cmake manually from do_configure() in my Yocto recipe. Will elaborate further iff needed since there isn't many people doing OpenCV in Yocto.

2015-05-24 20:34:00 -0600 received badge  Editor (source)
2015-05-22 00:05:36 -0600 asked a question Trouble in hal module

Hello all,

I got stuck in compiling OpenCV. Some deeper diagnosis led to the fact that the hal module is the culprit here. I also noticed that the error message was :

autoeye-1@autoeye1-desktop:/opencv/3.0.0-r0/opencv-3.0.0-rc1/build/modules/hal$ make
[  0%] Built target opencv_hal_pch_dephelp
[  0%] Generating precomp.hpp.gch/opencv_hal_Release.gch
x86_64-poky-linux-g++: error: unrecognized command line option '-m64 -march=corei7 -mtune=corei7 -mfpmath=sse -msse4.2 --sysroot=/media/ssd/home/autoeye/fido/poky/buildFido/tmp/sysroots/valleyisland-64'
make[2]: *** [modules/hal/precomp.hpp.gch/opencv_hal_Release.gch] Error 1
make[1]: *** [modules/hal/CMakeFiles/pch_Generate_opencv_hal.dir/all] Error 2
make: *** [all] Error 2
autoeye-1@autoeye1-desktop:/media/ssd/home/autoeye/fido/poky/buildFido/tmp/work/corei7-64-poky-linux/opencv/3.0.0-r0/opencv-3.0.0-rc1/build/modules/hal$

Of course I did not compile OpenCV from the directory. I just confirmed that the problem was coming from the HAL module itself. So any input about this?

Thanks.