Python

Tracking streak lines front

This python script tracks the 

OpenCV installation

1. Download and install the latest version of Python here 

2. Download and install Visual Studio Code

3. In VSCode open a Terminal using Ctrl + `, then:

Install pip:

$> curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py 

$> python get-pip.py 

Install opencv:

$> pip install opencv-contrib-python

Note:

When installing OpenCV on N version of Windows 10, in my case is Windows 10 Education N, there will be an error when importing cv2 in Python saying: DLL load failed while importing cv2: The specified module could not be found. This was resolved by installing the media package:

1. Go to Settings > Apps > Optional features

2. Choose Add a feature and look for Media Feature Pack and install it. Note that if Windows Media Player is already installed, Media Feature Pack will not appear when searching. In that case, search for Windows Media Player in the Install featured box and uninstalled it first, then install Media Feature Pack later.