Opencv reading video files, reading video stream, Images, IP and Web cameras. I would like to cover this all in one post. Yes, video writer is also important to store your results and achievements in video. There is couple of simple trick and if you follow them, you will never have a problem with the reading and writing video, stream, files in future. Basic opencv web camera reading There is couple think you need to take care. My favorite installation on windows platform is trough NUGET package system. It is easy in few steps. I describe this many times for example VS 2017 here . Nuget set up your project without any linking settings, library path selection, global environmental variables and you can directly start coding in few seconds. Just select and install nuget and compile code below. Nothing else. You need to take care if you have included several thinks. highgui.hpp core.hpp, imgproc.hpp, videoio, imgcodecs. All of them are not necessary to read the web camera but

The blog is full of OpenCV source code, tutorials, tips, tricks, and from basics to advanced streaming and video processing. The code examples are from C++. Most of the tutorials are dedicated to basics C++ OpenCV image processing, people detection from LBP haar cascades to modern deep learning. The tutorials are as well dealing with GStreamer OpenCV integration to be able to stream OpenCV output as a video stream to the web.