請改看更新版的影片: (5) ML-0929-1: How to install YOLO4 (17:02)
• (9) ML-09: How to inst...
-----------------------------
Python檔案可以在此下載: drive.google.com/drive/folder...
檔案名字: AI_03_Real_Time_Video_YOLO3
--------------------
要執行這個程式, 先開啟 Anaconda, 選擇左側的 Environments, 然後依序安裝 Tensorflow, Keras, opencv. 步驟如下: • Video
--------------------
還需要一個camera, 因為我使用桌機, 所以要外接. 有 USB 聯接線的攝影機, 應該就可以了. 我是用 Logitech WebCam C310.
--------------------
為何安裝 opencv, 程式裡卻要 import cv2?
From: pypi.org/project/opencv-python/
Q: Why the package and import are different (opencv-python vs. cv2)?
A: It's easier for users to understand opencv-python than cv2 and it makes it easier to find the package with search engines. cv2 (old interface in old OpenCV versions was named as cv) is the name that OpenCV developers chose when they created the binding generators. This is kept as the import name to be consistent with different kind of tutorials around the internet. Changing the import name or behaviour would be also confusing to experienced users who are accustomed to the import cv2.
--------------------
請參考: 陽明大學, 人工智慧概論課程
sites.google.com/view/yhkao/a...
11 апр 2019