webcam in real time
- From: epecker <ezepecker@xxxxxxxxx>
- Date: Fri, 31 Oct 2008 15:27:24 -0700 (PDT)
Hi, I'm new in this forum. For my final project I want to use a
webcam to acquire images continuously and send them to the pc. I need
it to be done in the fastest way . I have a "Genius video cam express
V2" conected to the usb port. If I do:
video=videoinput('winvideo',1)
the result is:
Summary of Video Input Object Using 'VideoCAM Express V2'.
Acquisition Source(s): input1 is available.
Acquisition Parameters: 'input1' is the current selected source.
10 frames per trigger using the selected
source.
'RGB24_352x288' video data to be logged
upon START.
Grabbing first of every 1 frame(s).
Log data to 'memory' on trigger.
Trigger Parameters: 1 'immediate' trigger(s) on START.
Status: Waiting for START.
0 frames acquired since starting.
0 frames available for GETDATA.
if I do:
source= getselectedsource(video)
source.FrameRate
the result is:
??? Error using ==> imaqchild.get at 44
Invalid property: 'FrameRate'.
Type 'imaqhelp' for information.
I`m aware that the FrameRate is 30fps. But if I run
demoimaq_AcquisitionRate.m from toolbox image acquisition estimated
frame rate is lower than 30fps (in minimum resolution). Why is that?
So I thought to use real time in simulink with the real time windows
target and image processing toolbox, image acquisition toolbox and
Video and Image Processing Blockset. In my first trial I used the
"From Video Device" and the "Video Viewer" or the "Frame Rate Display"
but it seems not to work in real time. Is that so?
I`m working with matlab 7.5.0.342, windows vista home basic, 1.6GhZ
dual 2 core with 2GB RAM.What can I do to get images from the webcam
in real time as fast as it can be done??
Thanks in advance!!!
Ezequiel
.
- Follow-Ups:
- Re: webcam in real time
- From: cpp . matlab
- Re: webcam in real time
- Next by Date: Re: Bayesian Logistic Regression
- Next by thread: Re: webcam in real time
- Index(es):
Relevant Pages
|