Community
cancel
Showing results for 
Search instead for 
Did you mean: 
PATRICK_W_Intel
Employee
909 Views

Using camera on Gailileo

Jump to solution

Hi

I wish to use a Galileo board to use 2 cameras at a time to simultaneously capture images. Is this possible on one Galileo board? if not is it possible to use two boards each with a camera and somehow get the boards to communicate as I need to do some image processing in MATLAB with the two images when they are captured. I am a complete novice to the Galileo board and would appreciate any advice fromt aking it out of the box to how to achieve the project described.

Thanks

Pat


Accepted Solutions
Pablo_M_Intel
Employee
44 Views

Hi PatW87,

First I would suggest to use the eglibc image because it already contains UVC. Another option would be to download the uClibc image and install the UVC package from the AlexT repo. You can check an explanation about the difference between both images following this link /message/241845 https://communities.intel.com/message/241845.

A general step by step guide would look like this:

  1. Download the image for your Galileo from here: https://software.intel.com/en-us/iot/hardware/galileo/downloads https://software.intel.com/en-us/iot/hardware/galileo/downloads.
  2. If you are using the uClibc-based image (not necessary if using the eglibc-based image), install UVC using the AlexT repo. In this link http://alextgalileo.altervista.org/package-repo-configuration-instructions.html http://alextgalileo.altervista.org/package-repo-configuration-instructions.html you can find instructions on how to make use of his repo, and this one http://repo.opkg.net/galileo/ http://repo.opkg.net/galileo/ you'll find the available packages.
  3. Next, make sure that your camera is supported by UVC, use this website to check that: http://www.ideasonboard.org/uvc/ http://www.ideasonboard.org/uvc/.
  4. Make sure that the UVC driver is loaded to your board and that the webcam is detected properly. You can use lsmod | grep uvc command for this. Ideally, this will display uvcvideo, videobu2_vmalloc and videobuf2_core.
  5. Check that the video device node has been created, use ls –l /dev/video0 command. The output should display /dev/video0.

Once you have /dev/video0 available you can use the webcam with other programs. Let us know if this helps you.

Regards,

PabloM_Intel

View solution in original post

1 Reply
Pablo_M_Intel
Employee
45 Views

Hi PatW87,

First I would suggest to use the eglibc image because it already contains UVC. Another option would be to download the uClibc image and install the UVC package from the AlexT repo. You can check an explanation about the difference between both images following this link /message/241845 https://communities.intel.com/message/241845.

A general step by step guide would look like this:

  1. Download the image for your Galileo from here: https://software.intel.com/en-us/iot/hardware/galileo/downloads https://software.intel.com/en-us/iot/hardware/galileo/downloads.
  2. If you are using the uClibc-based image (not necessary if using the eglibc-based image), install UVC using the AlexT repo. In this link http://alextgalileo.altervista.org/package-repo-configuration-instructions.html http://alextgalileo.altervista.org/package-repo-configuration-instructions.html you can find instructions on how to make use of his repo, and this one http://repo.opkg.net/galileo/ http://repo.opkg.net/galileo/ you'll find the available packages.
  3. Next, make sure that your camera is supported by UVC, use this website to check that: http://www.ideasonboard.org/uvc/ http://www.ideasonboard.org/uvc/.
  4. Make sure that the UVC driver is loaded to your board and that the webcam is detected properly. You can use lsmod | grep uvc command for this. Ideally, this will display uvcvideo, videobu2_vmalloc and videobuf2_core.
  5. Check that the video device node has been created, use ls –l /dev/video0 command. The output should display /dev/video0.

Once you have /dev/video0 available you can use the webcam with other programs. Let us know if this helps you.

Regards,

PabloM_Intel

View solution in original post