Ask Your Question
0

usb camera driver for microcontroller

asked 2012-08-05 03:21:53 -0600

updated 2012-08-06 11:04:36 -0600

Kirill Kornyakov gravatar image

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? I'm new to computer programming, please help. The microcontroller has a USB host, full speed.

edit retag flag offensive close merge delete

Comments

1

What Operating System are you using? And I don't think that this is a simple task for beginner in programming... But you have a chance if ffmpeg is working on your platform so that OpenCV can use it.

Kirill Kornyakov gravatar imageKirill Kornyakov ( 2012-08-06 11:01:37 -0600 )edit

Actually i dont have any os running on it, i would like to read the rgb data of each pixel and do some simple processing on it. So, is it possible to port the drivers in opencv to my microcontroller. i will give more details if it is possible. thank you.

jayanthyk192 gravatar imagejayanthyk192 ( 2012-08-07 07:33:14 -0600 )edit

1 answer

Sort by » oldest newest most voted
0

answered 2012-08-08 20:19:09 -0600

Tõnu Samuel gravatar image

updated 2012-08-08 20:21:13 -0600

You need to re-implement camera driver plus more software for your ARM7 unless you use some existing OS. I hope Linux runs on ARM7, so if you use linux you can reuse anything what already works under linux.

edit flag offensive delete link more

Comments

using an OS would be difficult and not of much use because I'm controlling other things with the microcontroller and using it to run an OS just to get camera data isn't such a good idea I think. So, i'm thinking of reimplementation of the drivers. will this be possible?

jayanthyk192 gravatar imagejayanthyk192 ( 2012-08-09 04:52:52 -0600 )edit

Question Tools

Stats

Asked: 2012-08-05 03:21:53 -0600

Seen: 1,242 times

Last updated: Aug 08 '12