All of lore.kernel.org
 help / color / mirror / Atom feed
* Using OpenCV and OpenGL together
@ 2013-12-11 14:18 Fikret Alim
  2013-12-18 17:49 ` Marek Vasut
  2013-12-18 18:18 ` Fabio Estevam
  0 siblings, 2 replies; 10+ messages in thread
From: Fikret Alim @ 2013-12-11 14:18 UTC (permalink / raw)
  To: meta-freescale@yoctoproject.org


[-- Attachment #1.1: Type: text/plain, Size: 1402 bytes --]

Hello,



I am trying to use OpenCV and OpenGL together for some image processing
tasks. I have already run OpenCV examples on IMX6, I can also compile and
run the examples under gpu sdk of Freescale with X11, but when I try to use
them together I have some problems.



Actually, what I am trying to make has already been done by Freescale

http://imxcv.blogspot.com/2012/03/gesture-recognition-on-imx6.html

http://cache.freescale.com/files/32bit/doc/app_note/AN4629.pdf



I have tried many times by using these examples in order to create a simple
working binary, but unfortunately I could not achieve that. I have attached
one of my trials (the source code, Makefile and the binary). I have
modified the 06_Texturing example given under GLES2_0 folder of gpu sdk. I
have compiled it without any problem, but when I load the binary to IMX6
board and run the example, I see a black cube rotating. I am waiting for
the video instead of black screen. I have attached the output of the
screen, also. If I add an imshow function after I get the image from the
camera, I can see it without any problem. But when it is used by OpenGL, I
can only see black screen as I said.



What can be wrong? I am using Yocto Dora release and I use hard float,
since soft float is not supported. (I have only stubs_hard.h in my sysroots
folder)



Thanks&Best Regards,

Fikret

[-- Attachment #1.2: Type: text/html, Size: 1936 bytes --]

[-- Attachment #2: screenout.jpg --]
[-- Type: image/jpeg, Size: 54944 bytes --]

[-- Attachment #3: opencv_gpu_text.tar.gz --]
[-- Type: application/x-gzip, Size: 87621 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-12-19 15:33 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-11 14:18 Using OpenCV and OpenGL together Fikret Alim
2013-12-18 17:49 ` Marek Vasut
2013-12-18 18:18 ` Fabio Estevam
2013-12-19  7:39   ` Fikret Alim
2013-12-19 11:55     ` Andre Silva
2013-12-19 13:56       ` Fikret Alim
2013-12-19 14:40         ` Andre Silva
2013-12-19 14:47           ` Fikret Alim
2013-12-19 14:51             ` Andre Silva
2013-12-19 15:33             ` Andre Silva

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.