Install libopencv-videoio-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libopencv-videoio-dev
development files for libopencv-videoio3.2
This package contains the header files and static library needed to compile applications that use OpenCV (Open Computer Vision) Video I/O library. . The Open Computer Vision Library is a collection of algorithms and sample code for various computer vision problems. The library is compatible with IPL (Intel's Image Processing Library) and, if available, can use IPP (Intel's Integrated Performance Primitives) for better performance. . OpenCV provides low level portable data types and operators, and a set of high level functionalities for video acquisition, image processing and analysis, structural analysis, motion analysis and object tracking, object recognition, camera calibration and 3D reconstruction.