Click here to Skip to main content
15,741,692 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hi guys,
Am developing a project using OPENCV with webcam support for my final year project...
videoInput is found in

http://muonics.net/school/spring05/videoInput/

My code consists of the following lines ...

videoInput VI;
VI.setupDevice(0); 
VI.setupDevice(1); 		

after cam - 0 sets up,

CSS
SETUP: Setting up device 0
SETUP: Frontech E-cam
SETUP: Couldn't find preview pin using SmartTee
SETUP: Capture callback set
SETUP: Device is setup and ready to capture

Cam-1 starts Setting up
CSS
SETUP: Setting up device 1
SETUP: Frontech E-cam
SETUP: Couldn't find preview pin using SmartTee
SETUP: Capture callback set
ERROR: Could not start graph

ANd fails by the following errors ..
CSS
SETUP: Disconnecting device 1
SETUP: freeing Grabber Callback
Error - Could not pause pControl
SETUP: freeing Renderer
SETUP: freeing Capture Source
SETUP: freeing Grabber Filter
SETUP: freeing Grabber
SETUP: freeing Control
SETUP: freeing Media Type
SETUP: removing filter USB Video Device...
SETUP: filter removed USB Video Device
SETUP: freeing Capture Graph
SETUP: freeing Main Graph
SETUP: Device 1 disconnected and freed

Could Someone throw light on the prob. or any configuration of videoInput so that I over come this problem....

Thanks in Advance...
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900