Ask Your Question
0

How to create video capture from scratch?

asked 2017-06-28 11:47:01 -0600

OpenCV has many various samples. First, there are programs in Tutorials, but they may be incompatible with the version used. Better to use a source code from the installation. I try to understand which is the best to start with video capture. I use laptop with Windows 8, installed opencv-2.4.13.2-vc14.exe, and want to capture from embedded camera. Going to create Win32 dialog-based project and show frames one-by-one. Found starter_video.cpp. More ideas? There is Tutorial Video Input with OpenCV and similarity measurement. Can I find a corresponding sample in my installation?

edit retag flag offensive close merge delete

Comments

Opencv team try to make a multiplatform system ->linux (c++), windows(c++) and MacOSx(C++) and python and java too. Some example are specific for hardware gpu opencv...

All samples are here.

If you want to start learning opencv you should start with opencv 3.2.

There is no specific samples for windows or linux

LBerger gravatar imageLBerger ( 2017-06-28 12:08:44 -0600 )edit

Why misleading? There are many samples without table of contents. I tried to choose the best one. As for GUI, I have a concrete question too. For Windows, most examples are console applications. When I write a normal program, I need to add GUI. The problem is that examples already create their own windows. Will namedWindow() work in Win32 non-console projects?

ya_ocv_user gravatar imageya_ocv_user ( 2017-07-02 02:26:45 -0600 )edit

To LBerger I noticed that in different versions samples have variations. For which version is your link? About OpenCV 3.2. I have installed it too. The difference is that it has no x86 directory and in x64 the number of DLLs is much less. Looks like they packed much functionality into one big opencv_world320.dll, right? All in all, does this 3.2 have all the functions described in Tutorials workable?

ya_ocv_user gravatar imageya_ocv_user ( 2017-07-02 02:57:15 -0600 )edit

Opencv is an opensource library about image processing and not about gui. If you want you can contribute. Many peoples contribute : write some module and some tutorials and sometime only an example.

If you want to learn opencv you can buy a book or can go in a library .

All gui functions in example are not necessary. You can delete those line and replace it with your favourite GUI : QT windows MFC. I use wxWidgets. But really GUI that's not a problem

About win32 you can use tag in this forum : http://answers.opencv.org/questions/s...http://answers.opencv.org/questions/s...

LBerger gravatar imageLBerger ( 2017-07-02 03:05:30 -0600 )edit

Useful tags. Maybe I will even answer some questions. Of course, OpenCV is not about GUI, but it should seamlessly work with it. Looks like it does. I now run dialog-based project with MFC and can use namedWindow()from it. What's pleasant, waitKey() continues working too. What is about OpenCV 3.2? Is it a fully functional version or only at early stages of development?

ya_ocv_user gravatar imageya_ocv_user ( 2017-07-03 04:45:24 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-07-02 01:59:03 -0600

Have found that file: opencv\sources\samples\cpp\tutorial_code\highgui\video-input-psnr-ssim\

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2017-06-28 11:47:01 -0600

Seen: 288 times

Last updated: Jul 02 '17