Ask Your Question

Revision history [back]

Hi,

  • Have you tried your camera without OpenCV? Does it work?
  • Have you tried any other opencv program?

  • For example can you compile, build, run this: opencv_example.cpp from samples ?

  • Try an official program first, like this: http://docs.opencv.org/modules/highgui/doc/reading_and_writing_images_and_video.html#videocapture

  • Try a very simple program first. Just open cam write "hello" if success, then exit.

I should tell you that I had some issues on windows with OpenCV until I compile OpenCV with a similar tutorial like this:

http://nenadbulatovic.blogspot.hu/2013/07/configuring-opencv-245-eclipse-cdt-juno.html

So I suggest you to build OpenCV on windows first, then try the samples, then write your own first simple program.

Hi,Hi, (I assume, that you are on Windows)

  • Have you tried your camera without OpenCV? Does it work?
  • Have you tried any other opencv program?

  • For example can you compile, build, run this: opencv_example.cpp from samples ?

  • Try an official program first, like this: http://docs.opencv.org/modules/highgui/doc/reading_and_writing_images_and_video.html#videocapture

  • Try a very simple program first. Just open cam write "hello" if success, then exit.

I should tell you that I had some issues on windows with OpenCV until I compile OpenCV with a similar tutorial like this:

http://nenadbulatovic.blogspot.hu/2013/07/configuring-opencv-245-eclipse-cdt-juno.html

So I suggest you to build OpenCV on windows first, then try the samples, then write your own first simple program.