I am trying to get Y(UV) information from the camera and use it in OpenCV in order to perform quick video processing. I only need Y information as I am trying to detect a laser.
Anyway, I stumbled accross this link http://robotblogging.blogspot.co.uk/201 ... ng-on.html
which seemed exactly suited to my needs. Unfortunately the API he is talking about won't compile properly so instead I downloaded a different API, which i'm pretty sure he refers to anyway. This is the API i DL'd : http://www.uco.es/investiga/grupos/ava/node/40
So this API worked fine when tested, I tried to download the code from the first link and then run a program that was included but it doesn't work. I get this error:
Code: Select all
In file included from mmalincludes.h:9:0, from camera.h:3, from picam.cpp:3: bcm_host.h:50:45: fatal error: interface/vmcs_host/vc_dispmanx.h: No such file or directory compilation terminated.
Alternatively, if someone could point me to another way to get YUV info from the GPU in openCV i would bless you many times.