LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   usb camera driver for microcontroller (https://www.linuxquestions.org/questions/linux-hardware-18/usb-camera-driver-for-microcontroller-4175421229/)

jayanthyk192 08-09-2012 10:28 AM

usb camera driver for microcontroller
 
Hi,

I need to get images from a USB camera using an ARM7 microcontroller which has a USB port built in. Currently I'm using OpenCV to get images and then working on it. But now I need to run it on my microcontroller. So, is there any way to port the usb drivers provided in OpenCV to my microcontroller?. The microcontroller has a USB host, full speed. please help.

I posted the same question in another website, they told me to use an OS for microcontroller, but I don't need the fully utility of the OS, all i need is to get RGB data from camera. Please help me port the drivers to my microcontroller.

Thank you.

ilesterg 08-09-2012 05:10 PM

Quote:

Originally Posted by jayanthyk192 (Post 4750004)
Hi,

I need to get images from a USB camera using an ARM7 microcontroller which has a USB port built in. Currently I'm using OpenCV to get images and then working on it. But now I need to run it on my microcontroller. So, is there any way to port the usb drivers provided in OpenCV to my microcontroller?. The microcontroller has a USB host, full speed. please help.

I posted the same question in another website, they told me to use an OS for microcontroller, but I don't need the fully utility of the OS, all i need is to get RGB data from camera. Please help me port the drivers to my microcontroller.

Thank you.

You have to find a way to communicate with the camera, using USB of course. Python (PyUSB I think) could do the job, if I correctly understand what you want.

michaelk 08-09-2012 06:00 PM

As I understand the question the OP wants to do some bare metal programming as in the links below. As suggested it would be easier if a real OS was running since you do not have to worry about start up initialisation or writing input/output or worry about any low level routines etc.

http://balau82.wordpress.com/2010/02...ogram-for-arm/
http://eetimes.com/design/embedded/4...etting-Started


All times are GMT -5. The time now is 12:40 PM.