Host : HKIESC-PolyU , PolyU Enginnering Club, PolyU Robotics Team
Presenter : @vinesmsuic (From PolyU Robotics Team)
This workshop will briefly introduce Computer Vision and OpenCV.
OpenCV is a robust library for processing images.
- Have Python3 Installed
- Have PIP3 installed
- Basic knowledge of Python
Download the Repo through git clone
$ git clone https://github.com/PolyU-Robocon/PolyU_Workshop_OpenCV_2020.git
or download the Repo hitting that Download ZIP
Button.
Install the libraries needed (You need to first cd
to the repo.)
$ pip3 install -U -r requirement.txt
In case the above code got error, try to install those dependencies on your own.
opencv-python
imutils
opencv-contrib-python
For Windows/MacOS, you may use anaconda to get opencv Firstly, install anaconda , then type the commands:
$ conda install numpy $ conda install -c conda-forge opencv $ sudo pip3 install imutils $ sudo pip3 install opencv-contrib-python
For Linux distro, use the below command to get opencv
$ sudo apt-get install python3-numpy $ sudo apt install python3-opencv $ sudo pip3 install imutils $ sudo pip3 install opencv-contrib-python
Then run checking.py
to verify installation (You need to cd
to the scripts
folder)
$ cd scripts
$ python3 checking.py
You should see something like this:
---------------------------------------
My Python version is: 3.7.4
My OpenCV version is: 4.4.0
---------------------------------------
Now you should be able to run the other files.
lecturenotes.md
- Conceptual notes.quicknotes.md
- Explain python code.
checking.py
- check python and opencv versionswebcam.py
- start camera through opencvimagelayers.py
- learn about the image layerscolormasking
- learn about maskingcolortracking.py
- color tracker for learning color filteringcolortrackingFull.py
- brief introduction to imutil
colorthresholder.py
- color filter pickercanny.py
- cannyedge detectionselectable-tracker.py
- selectable object tracking using tracker
max_heli.mp4
- a short clip of 3D modelling. Author @vinesmsuicdvd.mp4
- a short clip of dvd screensaver. source from https://www.youtube.com/watch?v=3hc-GxV1BS8