What is the output format of a webcam? I want to create a microcontroller device which can capture a frame from a USB webcam and I need to know what format the output from the webcam is in.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It depends on the webcam, it can be in RGB, BGR, YUV and various others, even JPEG. You might be better looking for a CCD module that you can interface to your micro rather then a USB solution as you will need to engineer a compatible USB driver as there is no standard for webcams like there is for storage devices (mass storage device).
Something like this: http://www.jrobot.net/Projects/AVRcam.html
Or probably even better: http://www.sparkfun.com/products/8668 (i2c for control, 8bit parallel for data and supports RGB, YUV and JPEG compressed formats)