歡迎到來PART 1!以下的是簡介。

定義:

手檢測是指為一影像判別是否存在手的特徵。與人Face Detection (人臉檢測)相似。

介紹:

之前為大家簡單講解過Face Detection (人臉檢測)。有得檢測人臉,很自然就有手的檢測啦!
今次的講解會複雜一點,及會製作一些用到手勢操作的應用程序。

開始前,先建議讀者先看Face Detection (人臉檢測)筆記先,有些步驟在之前說了就不重複啦!

所需工具如下:

作業系統:Windows XP SP3 32bit, Windows Vista 32bit, Windows 7 32bit

開發配置:JDK 6 (在此下載), OpenCV 1.0 (在此下載),OpenCV Processing Library(在此下載)

開發工具:Processing 1.0.x (在此下載), 命令提示字元

檢測器(Detector): aGest.xml (在此下載)

其他工具:攝像機(Camera)

演示:Hand Detection Demonstration(在此下載)

今次的筆記會用Processing + OpenCV寫一個具有手勢控制功能的應用桯序。本篇筆記耐要讀者具備一定的JAVA編程知識。

以下是該應用程序的功能:

  1. 應用程序初始化
  2. 手勢檢測
  3. 移動圖片
  4. 更改圖片尺寸
  5. 改變圖片模糊度數
  6. 顯示下一張圖片
  7. 返回預設

待續…

Ref:

Processing API
Face Detection (人臉檢測) Part 1 (簡介)
Face Detection (人臉檢測) Part 2 (安裝JDK)
Face Detection (人臉檢測) Part 3 (安裝OpenCV)
Face Detection (人臉檢測) Part 4 (安裝Processing)
Face Detection (人臉檢測) Part 5 (在Processing中安裝OpenCV Library)

筆記:

教學 – Hand Detection (手檢測) Part 1 (簡介)
教學 – Hand Detection (手檢測) Part 2 (演示Demo操作解說)
教學 – Hand Detection (手檢測) Part 3 (Processing 編程基本架構)
教學 – Hand Detection (手檢測) Part 4 (設定全球變數(Global Variables))
教學 – Hand Detection (手檢測) Part 5 (初始設定 1/2)
教學 – Hand Detection (手檢測) Part 6 (初始設定 2/2)
教學 – Hand Detection (手檢測) Part 7 (結束設定)
教學 – Hand Detection (手檢測) Part 8 (製作介面)
教學 – Hand Detection (手檢測) Part 9 (顯示圖像及攝像機(Camera)影象)
教學 – Hand Detection (手檢測) Part 10 (檢測及顯示最大的手)
教學 – Hand Detection (手檢測) Part 11 (設定/開始操作模式)
教學 – Hand Detection (手檢測) Part 12 (設定/結束操作模式)
教學 – Hand Detection (手檢測) Part 13 (記錄之前手的位置)
教學 – Hand Detection (手檢測) Part 14 (計算圖片位置)
教學 – Hand Detection (手檢測) Part 15 (移動圖片)
教學 – Hand Detection (手檢測) Part 16 (更改圖片尺寸)
教學 – Hand Detection (手檢測) Part 17 (改變圖片模糊度數)
教學 – Hand Detection (手檢測) Part 18 (顯示下一張圖片)
教學 – Hand Detection (手檢測) Part 19 (完成 – 測試及輸出)