unity-sentis onnx object-detection license:apache-2.0 region:us
---
license: apache-2.0
library_name: unity-sentis
pipeline_tag: object-detection
---

# Blaze Face face detector in Unity Sentis (Version 1.4.0-pre.3*)
*Version 1.3.0 sentis files are not compatible with 1.4.0 and will need to be recreated/downloaded

This is the [Blaze Face model](https://developers.google.com/mediapipe/solutions/vision/face_detector) formatted to work in Unity Sentis 2023

## How to Use
* Create a new scene in Unity 2023
* Install `com.unity.sentis` version `1.4.0-pre.3` from the package manager
* Drag the blazeface.sentis file into the model asset field
* Put a video in the Assets/StreamingAssets folder and set _videoName variable to the video name
* Create a RawImage and place it in your scene. Link to this image in the _previewUI field.
* Attach a sprite or texture for the bounding box image to the BondingBoxSprite or BorderTexture field

## Preview
When you get it working you should see something like this:

![preview](blaze_preview.png)

## Unity Sentis
Sentis is the inference engine for Unity 2023. More information can be found [here](https://unity.com/products/sentis)