Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
1,089 Views

Galileo Gen 2+OpenCV

I have been using Galileo Gen 2 board and I want to port OpenCV onto it. I have got Debian Wheezy image configured and it has been noted that (referring to https://forum.qt.io/topic/36094/solved-qt5-for-debian-linux https://forum.qt.io/topic/36094/solved-qt5-for-debian-linux) that the package qt5 is not available for Debian Wheezy Linux image. But it is supported by Debian Jessie. Referring to the thread /thread/56603 https://communities.intel.com/thread/56603, Galileo does not support Debian, only Yocto.

Is there any solution to this problem, so that OpenCV could be successfully ported to Galileo Gen 2 board?

0 Kudos
6 Replies
Highlighted
Employee
18 Views

Hi Aparajita,

Yes, the supported image is Yocto. From where did you get the Debian image?

What have you tried for installing OpenCV in the board?

The post https://forum.qt.io/topic/36094/solved-qt5-for-debian-linux [SOLVED] QT5 for Debian Linux | Qt Forum is from 2 years ago so there could be some improvements in this.

Did you try with https://packages.debian.org/source/wheezy/opencv https://packages.debian.org/source/wheezy/opencv or to install from the source?

Regards,

Charlie

Highlighted
Beginner
18 Views

0 Kudos
Highlighted
Employee
18 Views

Hi Aparajita,

I checked the document and it seems that the Debian image in the doc already has Wifi drivers, Python, Node.js, SSH, OpenCv, ALSA and V4L2 .

Are you able to run a basic example for python like:

import cv2.cv as cv

capture = cv.CaptureFromCAM(0)

img = cv.QueryFrame(capture)

cv.SaveImage("camera.jpg", img)

What is the outcome of running this? If you get an error please post a screenshot of it.

Regards,

Charlie

0 Kudos
Highlighted
Employee
18 Views

Hi Aparajita,

I would like to know if you have been able to work on this. Did you try with the example above?

Regards,

Charlie

0 Kudos
Highlighted
Beginner
18 Views

Hello Sir,

Actually I was on a vacation and hence could not reply back. I tried the above but it did not work out. Neither cv2.cv nor Node.js could be found out in the installed packages. Also, referring to the original comment I posted, the package qt5 is not available for Debian Wheezy Linux image. But it is supported by Debian Jessie. Referring to the thread /thread/56603 https://communities.intel.com/thread/56603, Galileo does not support Debian, only Yocto.

Could you please guide on this?

 

0 Kudos
Highlighted
Employee
18 Views

Hi Aparajita

Yes, the supported image is Yocto. In this case I suggest you to contact the person who built the Debian image you are using in order to include all the packages you need. Or you can search or build an image for Debian/Jessie

Regards,

Charlie

0 Kudos