keyboard_backspace wifi_off

Face detection

This feature is not (yet) supported on your device

From iOS 17 this feature can be enabled in Settings > Safari > Advanced > Feature Flags > Shape Detection API. Currently, this feature does not work on iOS 18.

The Shape Detection API detects faces and in some browsers also features like eyes, mouth, and nose.

Detect your face using the button below using the camera of your device. When a face is detected, a box will be drawn around it which will follow the face.

Check the checkbox to also show detection of the eyes, nose and mouth.

Demo

Documentation

Shape Detection API on Google Developers

Browser support

This demo currently only works on Chrome Canary and Edge Canary with the Experimental Web Platform features flag enabled and Safari Tech Preview with the Shape Detection API feature flag enabled.

What PWA Can Do Today A showcase of what is possible with Progressive Web Apps today