Skip to content

kyumdbot/CameraDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Camera Demo App for macOS

  • 使用 AV Foundation 存取 Webcam。
  • 使用 Vision framework 做人臉檢測。
  • 使用 YOLOv3-Tiny 做 Object 檢測。

擷圖

人臉檢測,並加上 Emoji:

face

Object 檢測:

person phone mouse

說明

  • Object 檢測是使用 Apple Inc. 訓練好的 YOLOv3-Tiny mlmodel 檔案( 下載網址 )。
  • 我使用的是 16 bit 精度的 YOLOv3TinyFP16.mlmodel,如果你想要有更精確的檢測結果,可自行把 model 換成 32 bit 精度的 YOLOv3Tiny.mlmodel;或是你想要有更快的檢測速度,那就把 model 換成 8 bit 的 YOLOv3TinyInt8LUT.mlmodel。
  • Apple Inc. 提供的 Core ML Models 裡也有 YOLOv3,YOLOv3 比起 YOLOv3-Tiny 有更精確的檢測效果,但速度會較慢,如果你需要更精確的 Object 檢測,可嘗試把 mlmodel 檔案換成 YOLOv3。

Releases

No releases published

Packages

No packages published

Languages