In this lesson we will be installing open CV library open CV is an open source computer vision library
provided by Intel in this course we will be using the open CV library for face recognition.
We will set the drone camera to track a person based on this face recognition.
Now let's get start installing now.
Open your web browser and go to HDTV s call on slash slash open CV.
Dot org.
If you have any problems in selling the library please do your google searching for ways to troubleshoot
with Mac.
We can install the open CV with Braille.
Let's close this window and launch the terminal and the terminal type and brew install open CV.
Once you hit the return button the installation will begin.
This may also take some time so I will skip to the screen after the process finishes.
Here we have finished installing the open CV.
We need to clear this screen So type in clear and hit the return button.
We want to use the open CV on Python so we will install the library using Pip type Pip 3 install open
CV hyphen Python.
If you install the python from the official site you will be typing Pip 3 for those who has installed
python with Anaconda you will only need to type Pip.
In my case I've installed python from the official site so this should be Pip 3 once you hit return.
The installation will begin again.
I'll skip the process to the last
here we've finished installing.
So let's clear this screen by typing clear.
Now we want to check if we can access the open CV with Python Let's launch the shell by typing Python
3 and hit return.
Now we type in import CV 2 and hit return if you don't see any errors.
This means the open CV has been successfully installed to exit the screen you need to either type exit
or control the.
Now we are ready to go onto the actual programming.