Pages: [1] 2   Go Down
Author Topic: Video camera with arduino + image processing.  (Read 21931 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi, I want to connect a color video camera to my Arduino and process the data I get (Object recognition by color and such). I know the Arduino is not powerful enough to handle complex image processing but I only need simple processing. I am also looking for a cheap video camera(up to 40$) that I can hook up to the Arduino.

The camera doesn't need high resolution or high image quality just to capture video and preferably digital so I won't have to add a circuit to translate analog signals to digital.

 if you have experience with an Arduino+camera and image processing using the arduino(not a pc) I would like to hear about it.
Logged

Offline Offline
Full Member
***
Karma: 0
Posts: 134
We were born naked, wet and hungry. And then things get worse!!!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

http://embeddedeye.com/profiles/blogs/turn-your-arduino-into-an
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 619
Posts: 33961
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


Quote
Well that add on board does:-

Quote
the Tam4 at 4x32 pixels.

So it is not very high resolution.

Quote
I know the Arduino is not powerful enough to handle complex image processing but I only need simple processing.
The truth is you can't do any sort of image processing at any sort of quarter decent resolution on an arduino without having a ton of extra stuff bolted on.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

these resolutions are very small and if you say I need to give up image processing on the Arduino, can you recommend a relatively cheap processor for this task?(my first thought is raspberry pi)
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 619
Posts: 33961
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes potentially a Raspberry Pi could do it, but it is still a bit of a work in progress at the moment. It is planned to have a camera board specially designed for it, but it is not ready yet.
Logged

Phoenix, Arizona USA
Offline Offline
Faraday Member
**
Karma: 40
Posts: 5570
Where's the beer?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

these resolutions are very small and if you say I need to give up image processing on the Arduino, can you recommend a relatively cheap processor for this task?(my first thought is raspberry pi)

Things to consider (may not be up to your needs or requirements):

http://nootropicdesign.com/ve/

...also:

http://www.jrobot.net/Projects/AVRcam.html
Logged

I will not respond to Arduino help PM's from random forum users; if you have such a question, start a new topic thread.

Offline Offline
Newbie
*
Karma: 0
Posts: 13
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I know exactly what you need. If you already have a Android Phone. Get this https://www.sparkfun.com/products/10748
and your project is half done.
Logged

Gosport, UK
Offline Offline
Faraday Member
**
Karma: 21
Posts: 3113
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

A Beaglebone might be the answer. It is, apparently, capable of running OpenCV.

http://beagleboard.org/bone/
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

That IOIO for android is nice but I need my project to be standalone not related to my phone.
I am checking out beagleboard to see if it will fit my needs.
Logged

NYC
Offline Offline
Full Member
***
Karma: 0
Posts: 129
The singularity is near!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Might you give some idea what your application is? It would expand the discussion.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Just object recognition by color(red) I need to recognize one or a number of stationary round objects(not perfectly round) in my camera's frame. The camera will be mounted on a robot that will walk and recognize these round objects in his environment.
Logged

0
Offline Offline
Tesla Member
***
Karma: 141
Posts: 9541
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Just object recognition by color(red) I need to recognize one or a number of stationary round objects(not perfectly round) in my camera's frame. The camera will be mounted on a robot that will walk and recognize these round objects in his environment.

Natures warning sign: if it were easy, you would already see thousands of similar projects. If you don't see them, there is probably a reason.
Logged

Consider the daffodil. And while you're doing that, I'll be over here, looking through your stuff.   smiley-cool

NYC
Offline Offline
Full Member
***
Karma: 0
Posts: 129
The singularity is near!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Use a smartphone. If you don't have one, ask friends and family for an old one. It does not require phone call capability which is why an old phone is ideal. Smartphones support openCV which you could then play with for hours. I'd also recommend you send the images to a PC for R&D. It is a better practice to work with image processing on a PC with OpenCV, Octave or MatLab. Once you figure out what you are doing, then recode it on a smartphone. OpenCv on a PC is better is because it is funner. You are more likely to get it working and have fun doing it.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

That won't help me I need the robot to be microprocessor based not smartphone based and I need it to work without the aid of a PC. Simple object recognition can be done with analyzing the color of each pixel in a frame's scanline and going through all the scanlines in a frame, I don't need high fps and can lower the frames I actually process to 10 or even 5 in a 30 fps camera, this combined with a not so high resolution will enable me to create this robot.

I know I sound like I am trying to build Rome( smiley-razz ) but with some thinking I can make this project work, I am sure someone did something similar before.

zoomkat - So if it turns out it wasn't done before so what? I'll try it, this is far from impossible.
« Last Edit: August 17, 2012, 11:38:28 pm by Shploop » Logged

Offline Offline
Full Member
***
Karma: 0
Posts: 134
We were born naked, wet and hungry. And then things get worse!!!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You already have all your options listed. You will have to choose one of those.
Or, simply get a color sensor http://www.sunrom.com/sensors/color/color-sensor . It recognizes the color, but not the object. The rest depends on your coding.
Logged

Pages: [1] 2   Go Up
Jump to: