go away spammer

Author Topic: Axon and video camera  (Read 4298 times)

0 Members and 1 Guest are viewing this topic.

Offline KylepowersTopic starter

  • Full Member
  • ***
  • Posts: 117
  • Helpful? 1
Axon and video camera
« on: March 14, 2011, 06:08:57 PM »
I was wondering if the axon can take video in from a digital camcorder? If so how would you start it?. Im trying to not have to buy camera for my robots vision because they are expensive. If you know of ceap ones please let me know. I think 200 for one is to much. Also is it possible to build a camera that you can use with the axon and roborealm? By which i mean take a camera from a phone and make a board to connect it to and then use it with the software and hardware above. Like i would with a digital camcorder.

Thanks
« Last Edit: March 14, 2011, 08:35:26 PM by Kylepowers »

Offline vinniewryan

  • Full Member
  • ***
  • Posts: 56
  • Helpful? 2
Re: Axon and video camera
« Reply #1 on: March 14, 2011, 09:46:03 PM »
how does 10 bucks sound? 30 frames per second @ 640X480 or 15Fps @ 1300X1040
http://www.sparkfun.com/search/results?term=toshiba+camera&what=products

Although working with these things can be pretty advanced, depending on what you want to do with them.

Offline KylepowersTopic starter

  • Full Member
  • ***
  • Posts: 117
  • Helpful? 1
Re: Axon and video camera
« Reply #2 on: March 14, 2011, 10:54:37 PM »
Are there boards for these cameras? Im trying to figure out how i would mount it. This would work perfectly if i can find the breakout board for it. Could show me were to get one?
« Last Edit: March 15, 2011, 06:39:04 AM by Kylepowers »

Offline KylepowersTopic starter

  • Full Member
  • ***
  • Posts: 117
  • Helpful? 1
Re: Axon and video camera
« Reply #3 on: March 15, 2011, 03:09:58 PM »
I also see this one hear: http://www.sparkfun.com/products/8739
Dose anyone know how to connect it to the axon?

Offline Soeren

  • Supreme Robot
  • *****
  • Posts: 4,672
  • Helpful? 227
  • Mind Reading: 0.0
Re: Axon and video camera
« Reply #4 on: March 15, 2011, 06:23:29 PM »
Hi,

I was wondering if the axon can take video in from a digital camcorder?
Try some math...
Eg. 640 x 480 x 15 fps = 4,608,000 bps (4.6 Mb/s plus some overhead) and that's just the raw pixel data that you need to transfer.
And then you want to apply vision algorithms to the data...


Im trying to not have to buy camera for my robots vision because they are expensive. If you know of ceap ones please let me know. I think 200 for one is to much.
Considering the amount of work you'd need to do and the years of experience you'd need to make it possible, it's not all that expensive. It's not the cameras that costs, it's the development of the software for the FPGA/ARM/whatever and since few are available, they keep the price high... When everyone and his uncle sells them, they'll be much cheaper.


Also is it possible to build a camera that you can use with the axon and roborealm? By which i mean take a camera from a phone and make a board to connect it to and then use it with the software and hardware above. Like i would with a digital camcorder.
Yes, it's possible for someone with years and years of experience and lots of time at hand, but don't expect to find someone willing to throw in hundreds of free hours to save you $200 - it's a thing that some would do because they can and find it fulfilling in some way, but it will be very expensive if the time involved is included in the total.

The proper way to go at it:
Google...
Read...
Calculate...
Experiment...
(Repeat as necessary).

Even if you don't get to a working result, you'll still have learned something along the way.
Regards,
Søren

A rather fast and fairly heavy robot with quite large wheels needs what? A lot of power?
Please remember...
Engineering is based on numbers - not adjectives

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: Axon and video camera
« Reply #5 on: March 15, 2011, 07:46:55 PM »
Computer vision requires large amounts of memory and heavy processing, neither of which any ordinary microcontroller can handle. So no, you can't hook an ordinary camera up to the Axon :P

have a read here:
http://www.societyofrobots.com/robot_faq.shtml#camera_microcontroller

You might be able to find an original CMUcam on Ebay for cheap. Old and limited, but you get what you pay for :P

Offline KylepowersTopic starter

  • Full Member
  • ***
  • Posts: 117
  • Helpful? 1
Re: Axon and video camera
« Reply #6 on: March 15, 2011, 07:55:11 PM »
I just need something simple to do see color and see objects nothing else. Just object recignition is all I want.

Offline rbtying

  • Supreme Robot
  • *****
  • Posts: 452
  • Helpful? 31
Re: Axon and video camera
« Reply #7 on: March 15, 2011, 08:04:52 PM »
The $200 CMUCam* / Blackfin / etc replaces a $300 computer and a $30.00 webcam - that's a big savings in both size and $$$ in exchange for a more limited processing power.

What kind of an object are you trying to recognize?  You could probably get away with a simple line-scan sensor (TSL1401 comes to mind) and an RGB light source to determine color.  This would only require 128 * ADC_resolution (=1024?) bits in memory per reading, which might actually fit into SRAM. 

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: Axon and video camera
« Reply #8 on: March 15, 2011, 08:19:11 PM »
I just need something simple to do see color and see objects nothing else. Just object recignition is all I want.
Object recognition, or object detection? Huge difference here . . .

The CMUcam3 will give you face detection, and the Blackfin will give you basic object recognition.

If you want full object or face recognition, RoboRealm with a laptop + webcam + microcontroller is your only option.

Offline KylepowersTopic starter

  • Full Member
  • ***
  • Posts: 117
  • Helpful? 1
Re: Axon and video camera
« Reply #9 on: March 15, 2011, 08:20:44 PM »
Pretty much any object i kind of wanted to use roborealm because its quite a nice program but im also try to be as chaep as poassible so ill take what i can get for advice. Could i just get an old webcam that i then send images wirelessly from it to a pc running roborealm then send the action back to the axon which would then interpret the command and perform it?
« Last Edit: March 15, 2011, 08:23:42 PM by Kylepowers »

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: Axon and video camera
« Reply #10 on: March 15, 2011, 08:30:56 PM »
Could i just get an old webcam that i then send images wirelessly from it to a pc running roborealm then send the action back to the axon which would then interpret the command and perform it?
Do you mean a wireless webcam? Those cost between $100 and $200, and there will be lag. You would also need bluetooth to transmit commands back to your robot.

You'd be better off putting a laptop on the robot with the webcam, and the actions will be sent by USB to the Axon.

You don't want an old cheap webcam, as they could be blurry, slow, and dark. I'd recommend a Logitech with "RightLight Technology". This is what I use for RoboRealm (and chatting with the ladies ;)).

Offline KylepowersTopic starter

  • Full Member
  • ***
  • Posts: 117
  • Helpful? 1
Re: Axon and video camera
« Reply #11 on: March 15, 2011, 08:59:04 PM »
I dont want to have the laptop on the robot. I dont care to much about lag there is lag either way. Little lag is alright its just object recognition and some tracking i want now. If i took this.
What kind of an object are you trying to recognize?  You could probably get away with a simple line-scan sensor (TSL1401 comes to mind) and an RGB light source to determine color.  This would only require 128 * ADC_resolution (=1024?) bits in memory per reading, which might actually fit into SRAM. 
so i could get the tracking and then a webcam for the recognition with wireless connectivity with a bluetooth sending a response back could i not get the same result even though its slow it could work.

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: Axon and video camera
« Reply #12 on: March 15, 2011, 09:13:48 PM »
I dont want to have the laptop on the robot. I dont care to much about lag there is lag either way. Little lag is alright its just object recognition and some tracking i want now. If i took this.
I'd expect lag to be about 1+ seconds, a huge problem for moving objects and moving robots . . .

What you'd need is called an IP camera:
http://www.google.com/products?hl=en&safe=off&q=ip+camera&um=1&ie=UTF-8&tbo=u&tbs=shop:1&source=og&sa=X&ei=cymATefECaTh0gG4w7TrCA&ved=0CHUQrQQ&biw=1920&bih=1042

The TRENDnet Wireless-G IP Camera is used by the mechwarfare robots, and they highly recommend it for its small size and immunity to interference:
http://www.newegg.com/Product/Product.aspx?Item=N82E16881102032&nm_mc=OTC-Froogle&cm_mmc=OTC-Froogle-_-Surveillance+-+Cameras-_-Trendnet-_-81102032

Offline KylepowersTopic starter

  • Full Member
  • ***
  • Posts: 117
  • Helpful? 1
Re: Axon and video camera
« Reply #13 on: March 15, 2011, 09:25:20 PM »
Then i could use roborealm with it to help work out what it sees. Then use bluetooth to send back the action it would need to take right. Or would i use a wireless wifi like card?

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: Axon and video camera
« Reply #14 on: March 15, 2011, 09:52:31 PM »
Then i could use roborealm with it to help work out what it sees. Then use bluetooth to send back the action it would need to take right. Or would i use a wireless wifi like card?
To transmit data back, you'd use bluetooth (as your cheapest most reliable option).

Offline KylepowersTopic starter

  • Full Member
  • ***
  • Posts: 117
  • Helpful? 1
Re: Axon and video camera
« Reply #15 on: March 15, 2011, 10:51:00 PM »
Ok Thanks for the input. I would like to experiment with this some.
What kind of an object are you trying to recognize?  You could probably get away with a simple line-scan sensor (TSL1401 comes to mind) and an RGB light source to determine color.  This would only require 128 * ADC_resolution (=1024?) bits in memory per reading, which might actually fit into SRAM. 
The question is could this system see depth our would you add another sensor like a sonar range finder  to see depth so that you could get a crude outline and depth of an object? I might be able to add this along side the camera. Is that possible or im i going a little far?

Offline rbtying

  • Supreme Robot
  • *****
  • Posts: 452
  • Helpful? 31
Re: Axon and video camera
« Reply #16 on: March 15, 2011, 11:10:44 PM »
If you want depth, use a laser pointer (you can use basic trig to find depth with a known offset), or use a Kinect (which requires a laptop on the bot). 

Sonar will give you the closest depth visible within the image, give or take, due to its rather large field of view.

Offline KylepowersTopic starter

  • Full Member
  • ***
  • Posts: 117
  • Helpful? 1
Re: Axon and video camera
« Reply #17 on: March 16, 2011, 05:07:42 PM »
Could I use both the camera for basic shape and color. While the laser gets the deffinet shape and color along with depth or is it over kill? Which one one is cheaper and and more benificial?

 Now keep in mind I want to use a pc to take in data wirelessly from the robot and send commands to it wirelessly for higher functions like object manipulation and recicnition. While basic stuff like avoiding obsticles is handled by the axon itself. Using simple sharp irs and sonar to detect and avoid walls and such.
« Last Edit: March 16, 2011, 05:20:17 PM by Kylepowers »

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: Axon and video camera
« Reply #18 on: March 16, 2011, 05:46:10 PM »

Offline KylepowersTopic starter

  • Full Member
  • ***
  • Posts: 117
  • Helpful? 1
Re: Axon and video camera
« Reply #19 on: March 16, 2011, 05:49:29 PM »
Not yet is there an area I should focus on?

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: Axon and video camera
« Reply #20 on: March 16, 2011, 05:51:55 PM »
Not yet is there an area I should focus on?
That tutorial covers the absolute basics, stuff you should know as a beginner. I'd recommend at least Parts 1 to 3. Part 4 is for moving stuff, of which you don't seem to need for your project.

Offline KylepowersTopic starter

  • Full Member
  • ***
  • Posts: 117
  • Helpful? 1
Re: Axon and video camera
« Reply #21 on: March 16, 2011, 05:55:04 PM »
Ok ill ceck it out and ill post any ideas then hear if I come up with any.

Offline KylepowersTopic starter

  • Full Member
  • ***
  • Posts: 117
  • Helpful? 1
Re: Axon and video camera
« Reply #22 on: March 16, 2011, 08:36:36 PM »
That was a very good reading. It got me thinking i really dont need to use a camera necessarily to make this robot see. My guess is i could use a small group of sensors to just track the basic shapes and colors of the objects. What do you guys think would be the best sensors for this task?

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: Axon and video camera
« Reply #23 on: March 16, 2011, 08:39:48 PM »
For basic shapes and objects, I'd go with the Blackfin :P

Plus, it's WebbotLib compatible, and you get to use all my ERP source code, too.

Offline KylepowersTopic starter

  • Full Member
  • ***
  • Posts: 117
  • Helpful? 1
Re: Axon and video camera
« Reply #24 on: March 16, 2011, 10:30:52 PM »
Ok what parts do you recommend buying? Also do you know if any where sells it cheaper possibly?
« Last Edit: March 16, 2011, 10:43:23 PM by Kylepowers »

Offline Soeren

  • Supreme Robot
  • *****
  • Posts: 4,672
  • Helpful? 227
  • Mind Reading: 0.0
Re: Axon and video camera
« Reply #25 on: March 16, 2011, 11:31:53 PM »
Hi,

To save a bit and make it possible to handle mentally, perhaps break out a camera chip from a mouse and start playing with that (both the needed optics and the read-out).

They're low resolution cams (from around 16x16 px and up to ...64 px IIRC) and monochrome, but you'd be able to learn a lot from such a cam and if you have a mouse that's deemed unworthy of its original purpose, it could be free - some offices just throw out working ones if they eg. needs better quality. For experimenting, the most important isn't resolution, but availability of a datasheet.
Regards,
Søren

A rather fast and fairly heavy robot with quite large wheels needs what? A lot of power?
Please remember...
Engineering is based on numbers - not adjectives

Offline KylepowersTopic starter

  • Full Member
  • ***
  • Posts: 117
  • Helpful? 1
Re: Axon and video camera
« Reply #26 on: March 17, 2011, 12:55:15 AM »
There are cameras in a pc mouse. I know theres is a laser but how would you be able to use of these cameras to do what we are talking about please inliten me. Another thought i had is what about a camera from a cellphone would that work as well?
« Last Edit: March 17, 2011, 10:33:13 AM by Kylepowers »

Offline teoxan

  • Full Member
  • ***
  • Posts: 49
  • Helpful? 2
Re: Axon and video camera
« Reply #27 on: March 17, 2011, 01:50:24 PM »
I recently bought this : http://www.sparkfun.com/products/10061, it has TTL signal and I tested it with an Arduino code.

It worked well, of course all I was receiving was bytes, but with openCV I think it will do some basic work.

It doesn't have much of a resolution but it's easy to interface it with a microcontroller and there's lot of code out there specifically for this camera.

I haven't tested it with my Axon, but I will in the following days and will let you know about.

theo

Offline Soeren

  • Supreme Robot
  • *****
  • Posts: 4,672
  • Helpful? 227
  • Mind Reading: 0.0
Re: Axon and video camera
« Reply #28 on: March 17, 2011, 02:34:11 PM »
Hi,

There are cameras in a pc mouse. I know theres is a laser
The LASER is just there as a light and some optical mice has an LED for that, but they all have cams to see how the mouse moves in relation to what you slide it over (by comparing consecutive samples).


but how would you be able to use of these cameras to do what we are talking about please inliten me.
This is where I have to let you in on a secret... It's called Google   :P

Here is a single example though.


Another thought i had is what about a camera from a cellphone would that work as well?
No, the whole point is to seriously lower the amount of pixels to reduce handling time (although I haven't looked into the speed of readout possible with a mouse cam).
It makes it easier in data handling as well to keep to the small format of a mouse cam, so it's perfect for learning.
Phone cams come in anything from 640x480 to around 5Mpixels.
Regards,
Søren

A rather fast and fairly heavy robot with quite large wheels needs what? A lot of power?
Please remember...
Engineering is based on numbers - not adjectives

Offline KylepowersTopic starter

  • Full Member
  • ***
  • Posts: 117
  • Helpful? 1
Re: Axon and video camera
« Reply #29 on: March 17, 2011, 03:47:22 PM »
Thats cool im either thinking of useing the sparkfun as mentioned above or I might buy a cheap webcam to play with tell I can afford the blackfin. I might play with the mouse idea to. Ill think about it. The cheap web cam might be my best bet tell the blackfin can be purchased or if the sparkfun turns out.

If I go webcam what are your guys takes on setting it up.

 


Get Your Ad Here