Ask Your Question

usb camera driver for microcontroller

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

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

Kirill Kornyakov gravatar image


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



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 -0500 )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 -0500 )edit

1 answer

Sort by » oldest newest most voted

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

Tõnu Samuel gravatar image

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

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


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 -0500 )edit
Login/Signup to Answer

Question Tools


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

Seen: 701 times

Last updated: Aug 08 '12