Shop OBEX P1 Docs P2 Docs Learn Events
propeller web camera interface? — Parallax Forums

propeller web camera interface?

accmeintaccmeint Posts: 6
edited 2010-07-28 21:21 in Propeller 1
Has anyone done a propeller (usb), web camera interface?

Comments

  • KyeKye Posts: 2,200
    edited 2010-07-28 01:52
    Not possible. Throughput for those is way above the propeller chip's clock frequency.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Nyamekye,
  • Duane DegnDuane Degn Posts: 10,588
    edited 2010-07-28 02:38
    Hanno Sander has interfaced a small black and white camera to the Prop.· He discribes it in a chapter of "Programming & Customizing the Multicore Propeller Microcontroller."

    Here's a link:http://www.parallax.com/Store/Books/Propeller/tabid/171/CategoryID/45/List/0/SortField/0/Level/a/ProductID/637/Default.aspx

    I have a copy of the book and I recommend it.

    I think this is the best·machine vision solution I've seen for the Propeller.· I've concidered using a line scanning sensor as part of a machine vision system and I also think a camera from a WiiMote has its uses for machine vision.· What good is a blind killer robot?· (By killer, I mean cool (of course).)skull.gif

    Duane
  • TubularTubular Posts: 4,717
    edited 2010-07-28 04:37
    Accmeint,

    Please tell us more about what you want to do. While the prop doesn't have enough RAM it is still possible to perform some operations, or to use additional storage to hold the images while they are processed or transferred.

    4D systems have a serial camera for under $60, ttl or rs232. These are VGA resolution but you can get smaller image previews out of them
    There are CMUcam's with some onboard processing

    You can also interface standard cameras (SLRs etc) by "sharing" the SD card in parallel with them.
  • HannoHanno Posts: 1,130
    edited 2010-07-28 21:21
    Thanks Duane!
    Yes, the book and my circuit cellar article from a couple years back describe how I used an ADC to sample a grayscale NTSC signal to build a framegrabber. I also implemented some simple vision algorithms that let you find the xy position of some things. I used the complete solution to steer my dancebot with a barcode belt buckle.

    Vision is very "visual"- so ViewPort includes the framegrabber, vision algorithms, and let's you watch the result on your pc.

    OpenCV is a library of computer vision code- it's also integrated into ViewPort. With it, you can use a webcam connected to your pc to "steer" your robot. It includes filters to find a human face, colored objects, or circles.

    Free 30 day trial- see my sig...

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Co-author of the official Propeller Guide- available at Amazon
    Developer of ViewPort, the premier visual debugger for the Propeller (read the review here, thread here),
    12Blocks, the block-based programming environment (thread here)
    and PropScope, the multi-function USB oscilloscope/function generator/logic analyzer
Sign In or Register to comment.