OpenCV - Python - Object Detector with SIFT
OpenCV with Object Detector. SIFT is used in this detector.
1. Install Anaconda
2. Create Anaconda Environtment
conda create -n opencv_project python=3.6 pip
3. Activate Anaconda Environtment
For Linux: source activate opencv_project
For Windows: activate opencv_project
4. Install OpenCV
pip install opencv-python==3.4.2.16
pip install opencv-contrib-python==3.4.2.16
5. Run the code
Don't forget to add your image and change "myfish.png" in trainImg=cv2.imread("myfish.png",0) with your image's name
Then, execute
python OpenCV-SIFTDetect.py
The files (python, ui, and image) must be in your working directory, for Linux type pwd in your terminal, for Windows type cd
Source Code:
Python: https://github.com/triopu/OpenCV/blob/master/OpenCV-SIFTDetect.py
UI: https://github.com/triopu/OpenCV/blob/master/OpenCV.ui
Видео OpenCV - Python - Object Detector with SIFT канала Trio Pambudi Utomo
1. Install Anaconda
2. Create Anaconda Environtment
conda create -n opencv_project python=3.6 pip
3. Activate Anaconda Environtment
For Linux: source activate opencv_project
For Windows: activate opencv_project
4. Install OpenCV
pip install opencv-python==3.4.2.16
pip install opencv-contrib-python==3.4.2.16
5. Run the code
Don't forget to add your image and change "myfish.png" in trainImg=cv2.imread("myfish.png",0) with your image's name
Then, execute
python OpenCV-SIFTDetect.py
The files (python, ui, and image) must be in your working directory, for Linux type pwd in your terminal, for Windows type cd
Source Code:
Python: https://github.com/triopu/OpenCV/blob/master/OpenCV-SIFTDetect.py
UI: https://github.com/triopu/OpenCV/blob/master/OpenCV.ui
Видео OpenCV - Python - Object Detector with SIFT канала Trio Pambudi Utomo
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала