SDK Help Center
Go to docs.banuba.com
Contact Support
Go to Customer Portal
Unity
Face AR SDK
Size
Integration
Face Tracking
Camera
Unity
Web
iOS
Other
Video Editor SDK
Size
Integration
Customization
Other
TINT
Effect Construction
Filter Editor and Viewer
Effect Creation
Beauty & Makeup
Face Filters
Avatar
Pricing & Service
Trial
Face AR SDK
Video Editor SDK
AR Assets & AR Cloud
Custom Service
Data Collection & Processing
Technology
Unity Face Tracking
Technical
AR Cloud
Back to home
SDK Help Center
Face AR SDK
Unity
Face AR SDK
Size
Integration
Face Tracking
Camera
Unity
Web
iOS
Other
Video Editor SDK
Size
Integration
Customization
Other
TINT
Effect Construction
Filter Editor and Viewer
Effect Creation
Beauty & Makeup
Face Filters
Avatar
Pricing & Service
Trial
Face AR SDK
Video Editor SDK
AR Assets & AR Cloud
Custom Service
Data Collection & Processing
Technology
Unity Face Tracking
Technical
AR Cloud
How to determine the distance from the user’s face the camera.
To determine the distance to the user's head from the camera you can use transform.position.z. Take Z coord of the position from the mvp matrix. The distance wiil in the millimetres.