OpenCV
We will be using a package called OpenCV in this chapter. OpenCV (Open Source Computer Vision) as the name implies is an open source cross-platform Python package that can be used to enable real-time computer vision. The tool has its origins in Intel Labs.
OpenCV can be used in conjunction with TensorFlow, PyTorch, and Caffe.
Installation
We will be using a package called OpenCV in this chapter. You can learn more about it here: http://opencv.org. Make sure to install it before you proceed. Here are the links to install OpenCV 3 with Python 3 on various operating systems:
- Windows:https://solarianprogrammer.com/2016/09/17/install-opencv-3-with-python-3-on-windows
- Ubuntu:http://www.pyimagesearch.com/2015/07/20/install-opencv-3-0-and-python-3-4-on-ubuntu
- Mac:http://www.pyimagesearch.com/2015/06/29/install-opencv-3-0-and-python-3-4-on-osx
Now that you have installed it, let's go to the next section where we'll discuss frame differencing...