How to detect human faces (and other shapes) in JavaScript

How to detect human faces (and other shapes) in JavaScript

用 web 原生的 Shape Detection API 做人臉識別的教學與範例。

Shape Detection API 除了人臉識別,還有條碼識別與文字識別,但在瀏覽器的實作程度不一,目前還不適合進入生產環境使用。