Using OpenCV and OpenGL together

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Using OpenCV and OpenGL together

2,290件の閲覧回数
fikretalim
Contributor III

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

Original Attachment has been moved to: opencv_gpu_text.tar.gz

0 件の賞賛
返信
3 返答(返信)

1,315件の閲覧回数
YixingKong
Senior Contributor IV

Fikret

This discussion is closed since no activity. If you still need help, please feel free to reply with an update to this discussion, or create another discussion.

Thanks,

Yixing

0 件の賞賛
返信

1,315件の閲覧回数
YixingKong
Senior Contributor IV

Fikret

We have not got your response yet and will close the discussion in 3 days. If you still need help, please feel free to reply with an update to this discussion.

Thanks,

Yixing

0 件の賞賛
返信

1,315件の閲覧回数
YixingKong
Senior Contributor IV

Fikret


We are sorry for getting back to you so late. Are you still stuck with the issue? If you have somehow to resolved the issue, can we close the discussion? If you still need Freescale help, please feel free to contact us.

Thanks,
Yixing

0 件の賞賛
返信