cannot get life feed from webcam under Windows (Bug #580)


Added by Andrei Zaharescu over 14 years ago. Updated over 12 years ago.


Status:Cancelled Start date:
Priority:High Due date:
Assignee:- % Done:

0%

Category:highgui-camera
Target version:-
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

Description

I checked out opencv 2.1.1 from trunk (Revision: 3648) and I successfully compiled it under windows 7 (64-bit) using Visual Studio 2005 (32-bit - hence all the binaries are 32 bits).

All the examples seem to be working just fine, except for the fact that I cannot capture from the built-in webcam (it works just fine under 2.1). The program (for example camshiftdemo.exe) does not crashes. It simply displays a black image.

If I pass a video file, everything is fine.
I did not enable the Qt interface when compiling.

I have also compiled 2.1 on the same system and everything works just fine.


Related issues

duplicates Bug #491: cvCreateCameraCapture fails to open camera Done

Associated revisions

Revision b9b42005
Added by Andrey Kamaev about 12 years ago

Merge pull request #580 from vrabaud:patch-1

History

Updated by Niall O'Hara over 14 years ago

I think it may be related to #491

I think HAVE_VIDEOINPUT is not working as expected...

Try doing what I did in the 3rd reply in that ticket and see if that fixes it.

Updated by Andrei Zaharescu over 14 years ago

You are correct. That fixes it. Thank you very much for pointing that out. I will close this bug as a duplicate.

  • Status changed from Open to Done
  • (deleted custom field) set to duplicate

Updated by Niall O'Hara over 14 years ago

No problem, add a reply to the original ticket to give more info to the developers :)

Updated by Andrey Kamaev almost 13 years ago

  • Status changed from Done to Cancelled

Updated by Andrey Kamaev over 12 years ago

  • Category changed from highgui-images to highgui-camera

Also available in: Atom PDF