Upload
max-lai
View
377
Download
0
Embed Size (px)
DESCRIPTION
This is a presentation I gave at Taichung.py in Aug. 30 2014.
Citation preview
INTRODUCTION TO OPENCV WITH PYTHONMax Lai @ 80-cloud.com at Taichung.py, Aug. 30, 2014
I am Max Lai
� from 80-cloud.com� 盟創(合勤集團)下的台中團隊� 目前開發重點
�照片分享社群服務�智慧影像分析技術
� We are hiring� mobile app developer (Android/iOS)� front end visual/UX designer
有趣的OpenCV Project:能臉部識別定位的棉花糖大炮� http://goo.gl/BmTlHu
大綱
� OpenCV 簡介� 利用 OpenCV 的簡單影像處理應用
� Image I/O� Smoothing� Edge detection� Histogram equalization
� 利用OpenCV 進行照片中的人臉偵測
OpenCV 簡介
� Open source Computer Vision library� BSD License� http://opencv.org
� Originally developed by Intel� Has more than 2500 optimized algorithms� Supports a lot of different languages
� C, C++, Python, Java� but is written natively in C++
� Cross platform� also available for Android and iOS
Source: http://opencv.org/about.html
OpenCV 的應用
Source: http://www.slideshare.net/zblair/opencv-introduction
安裝OpenCV (on Ubuntu 12.04 LTS)
$ sudo apt-get update
$ sudo apt-get install -y vim build-essential python-software-properties
$ sudo apt-get install -y python-opencv python-numpy
影像處理: Image I/O
Reference: http://goo.gl/H3z2fy
影像處理: Smoothing
影像處理: Smoothing
Source: http://goo.gl/M9dQ0L
影像處理: Edge Detection
影像處理: Edge Detection
Source: http://goo.gl/RjfUIJ
影像處理: Histogram Equalization
影像處理: Histogram Equalization
Source: http://goo.gl/JDGciw
人臉偵測
� Sample code
API Doc: http://goo.gl/RxJSwd
人臉偵測
� You need to download Face Detection Trainer� Haar Cascade Frontal Face xml file. � http://goo.gl/kJZVAI
Image: http://successfulpeoplesolveproblems.com
參考資料
� Official Page: http://opencv.org
� Tutorials: http://docs.opencv.org/master/doc/py_tutorials/py_tutorials.htmll
� Face detection: http://fideloper.com/facial-detection
� Books: