OpenCV OpenCV haartraining (Rapid Object Detection With A Cascade of Boosted Classifiers Based on Haar-like Features) 延續上一篇Manually Compiling and Installing OpenCV on Mac / Windows Without Package Manager,假設讀者已安裝OpenCV開發環境與command line指令設定。此篇以 Tutorial: OpenCV haartraining (Rapid Object Detection With A Cascade of Boosted Classifiers Based on Haar-like Features) 和 Creating a haar cascade classifier aka haar training 為基礎撰寫。 偵測物圖片蒐集 首先,要偵測的物體圖片是少不了的。假設我們要偵測的是一個原子筆,