After struggling a lot finally I need to come here to post my question.
On my Galileo Gen 2 board I have installed the Debian 7.11 OS following the link http://allynh.com/blog/installing-debian-on-the-intel-galileo/ Installing Debian on the Intel Galileo – Allyn H
I have a Sony USB camera which I have plugged into Galileo Gen 2 and I am able to take pictures from it. For enabling the camera I followed this link http://www.instructables.com/id/Streaming-USB-Webcam-with-the-Intel-Galileo-Gen-2/ Streaming USB Webcam With the Intel Galileo Gen 2: 5 Steps
My requirement is to scan/read the barcode from the image taken by the camera. For reading barcode I installed SimpleCV and Zbar library but I am not able to import SimpleCV in python and getting the error "Illegal instruction". I think SimpleCV is made only for RaspberryPi not for Intel Galileo.
Please tell me which library is supported to read barcode from Galileo Gen 2 having Linux Debian OS.
And also let me know which link or blog should I follow to follow the procedure on library installation.
Could someone please help me with this. I would greatly appreciate the help and Thanks in advance !!
Yocto Linux is the only OS supported by Intel, so I think you will not receive much help in this forum, I think. Since you are using a port of Debian, you should ask for help to those promoting the OS distribution (such as the one in the blog you mentioned) or even the port author explicitly referred to in the blog post you sent the link in your post.
Thank you for contacting us.
Usually, for image processing applications the OpenCV library is the one used among the community members, you can give it a try and let us know if you're successful, however, keep in mind that as Fernando pointed out, the Yocto image is the only image we support. We will try to help you out and also suggest you to contact the author of the blog you posted above, he may have more experience using that image.
Anyhow, we researched online and found a few guides that describe how to read barcodes using OpenCV:
http://www.codepool.biz/opencv-python-webcam-barcode-reader.html : This guide shows how to recognize Barcode via Webcam in Python and preview and capture images with OpenCV.
http://www.pyimagesearch.com/2014/11/24/detecting-barcodes-images-python-opencv/ : This guide explains pretty much the same as the previous guide, but with a slightly different approach. You can use this as an alternative source of information.
http://milq.github.io/install-opencv-ubuntu-debian/ : This one is not related to barcodes, but has lots of valuable information on how to install OpenCV in Debian
These guides are not specific to the Galileo, but will help you gain insight on how you can move on with your project.
Additionally, if you would like to try with the OpenCV library and the Yocto image, you can download the image from here: https://software.intel.com/en-us/iot/hardware/galileo/downloads . You can find a guide on how to install it here: https://software.intel.com/en-us/get-started-galileo-windows
I'm personally not familiar with the SimpleCV library, so I couldn't say if it is supported only for Raspeberry Pi. I found a help forum on the SimpleCV website, so you might want to post your doubt there as well: http://help.simplecv.org/questions/. Other users might be able to provide a better response.
I hope you find this information useful.