OpenCV and Ubuntu problem regarding 2 webcams

Status
Not open for further replies.

Cheetos

Member level 3
Joined
May 26, 2011
Messages
57
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
1,700
greetings, i am using ubuntu 10.4 and codeblocks with openCV in my project. in my project i will be using two cameras. i observed that when i use capture = cvCaptureFromCAM(0); the program runs normally. when i use this code capture1 = cvCaptureFromCAM(0); capture2 = cvCaptureFromCAM(1); the program does not run. it will just say "press ENTER to continue". am i having this problem because i am using Ubuntu?
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…