Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Frame Grabber using FPGA thru webcam

Status
Not open for further replies.

syyang85

Newbie level 3
Joined
Dec 16, 2007
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,331
fpga webcam

Hello,

I'm a student doing a project on implementing optical flow algorithm into FPGA.
Basically, i would like to mount a camera ( preferably webcam coz its cheap) onto a FPGA( my college currently has up2 and up3 Altera education board) and it do some image/video processing in FPGA and display in an LCD or CRT monitor.

As for my part, I'm doing the input part. That is getting the data(image frames) ready for calculation in the FPGA. the Frame Grabber should grab image frames from the camera and converts it into gray-scale and saves it in Matrix form or what ever meaningful form. It's quite a challenging project :D so, I need all the advise/help that all I can get.


From what I read throughout the forum. Is true that is the least practical to use a USB device on FPGA? The up3 board that I'm using has USB port, so I was thinking of just using my cheap webcam that I've already own. What do I need to prepare if I decide to use the USB webcam? I found out that there's a USB port in up3 board and there is ip-core on USB in opencore.org. What other better alternatives do you guys suggest? and what other advises would give regarding my project on the Frame grabber.

Thank you for your precious time on reading this.

Regards,

Sim
 

usb webcam fpga

go to xess.com

they have refernece design for You
 

fpga frame grabber

Does it separate USB port or it using to program FPGA??
Also check Micron website, they have some image sensors, and those one more easy to hook up to FPGA
 

webcam fpga

I found some open source driver for my logitech quickcam express in other linux forums.
So, i was thinking whether i could read up the source code of the driver and try to figure out which codes commands the webcam.

On the ipcore issue. I found some usb 1.1 host and slave controllers ip cores in opencore.org. I quite new to this usb interface. Since host(fpga) commands the slave(webcam) what to do. does it mean that after I can use the codes that i have derived from the linux driver then i can use the code on the host controller to command the webcam to some operations? Or the usb host/slave controller just manages the interface only and do not do any processing operations.

On the other hand, i need to save the image into a memory. So, i need memory ip core, right? And the most difficult part wud the image processing. I havent found any image processing ip cores at the moment. I need to resize the image and change it in grayscale form. Could i build those operations in Matlab/dsp builder? Any dsp builder experience user here? haha.

Anyhow, on the final issue. How do i or more importantly could i join the the ipcores with the circuit that i have built in dsp builder/simulink/matlab?

If the above strategies could not work then i might just install a soft processor into the fpga and install uclinux and do the image processing in C++.

Any ideas? which strategy is more feasible?
 

c3088 cameras in india

hey syyang85....i'm doing a thing similar to urs...i'm trying to do jpeg compression....i've got all the modules like dct, quantization, huffman n stuff....now all i need to do is to download an image on to the fpga either from the pc or from the camera...using frame grabber n stuff and run these modules as 1. so please let me know if u've succeeded in downloading the image on to the fpga....my email is grky1602@yahoo.co.in. any help is appreciated thank u!!!
 

hook up webcam to matlab

why u r stressing so much on using a webcam
XESS options i think is the best if u have to take the images from a camera and store it on RAM.

Conversion to gray scale depends upon ur image format , wether it is in RGB or Y Cb Cr. In case of Y Cb Cr just pick the Y component. In case of RGB u will have to do implement some math
 

grab frames from usb camera c++

you can use cmos sensor modules like c3038 or c3088
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top