Offline
Newbie
Karma: 0
Posts: 10
|
 |
« on: August 11, 2012, 05:33:26 am » |
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
Full Member
Karma: 0
Posts: 122
We were born naked, wet and hungry. And then things get worse!!!
|
 |
« Reply #1 on: August 11, 2012, 12:27:39 pm » |
|
|
|
|
|
Logged
|
|
|
|
|
Manchester (England England)
Offline
Brattain Member
Karma: 299
Posts: 26031
Solder is electric glue
|
 |
« Reply #2 on: August 11, 2012, 12:39:38 pm » |
Well that add on board does:- the Tam4 at 4x32 pixels. So it is not very high resolution. 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
Newbie
Karma: 0
Posts: 10
|
 |
« Reply #3 on: August 11, 2012, 12:59:54 pm » |
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
Brattain Member
Karma: 299
Posts: 26031
Solder is electric glue
|
 |
« Reply #4 on: August 11, 2012, 03:35:14 pm » |
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
Faraday Member
Karma: 30
Posts: 5123
Where's the beer?
|
 |
« Reply #5 on: August 11, 2012, 07:55:21 pm » |
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
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 13
|
 |
« Reply #6 on: August 11, 2012, 11:45:27 pm » |
I know exactly what you need. If you already have a Android Phone. Get this https://www.sparkfun.com/products/10748and your project is half done.
|
|
|
|
|
Logged
|
|
|
|
|
Gosport, UK
Offline
Faraday Member
Karma: 19
Posts: 3117
|
 |
« Reply #7 on: August 12, 2012, 04:23:18 am » |
A Beaglebone might be the answer. It is, apparently, capable of running OpenCV. http://beagleboard.org/bone/
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 10
|
 |
« Reply #8 on: August 12, 2012, 10:39:43 pm » |
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
Full Member
Karma: 0
Posts: 125
The singularity is near!
|
 |
« Reply #9 on: August 14, 2012, 03:08:36 pm » |
Might you give some idea what your application is? It would expand the discussion.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 10
|
 |
« Reply #10 on: August 16, 2012, 09:46:37 am » |
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
Tesla Member
Karma: 58
Posts: 6781
Arduino rocks
|
 |
« Reply #11 on: August 17, 2012, 04:23:04 pm » |
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
|
|
|
|
|
NYC
Offline
Full Member
Karma: 0
Posts: 125
The singularity is near!
|
 |
« Reply #12 on: August 17, 2012, 09:56:02 pm » |
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
Newbie
Karma: 0
Posts: 10
|
 |
« Reply #13 on: August 17, 2012, 11:35:49 pm » |
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(  ) 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
Full Member
Karma: 0
Posts: 122
We were born naked, wet and hungry. And then things get worse!!!
|
 |
« Reply #14 on: August 18, 2012, 12:01:24 am » |
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
|
|
|
|
|
|