File size: 1,111 Bytes
1cc96c4
73533e1
7f6cab6
ac064d3
1cc96c4
9e60ee4
505e8d0
 
9e6cf6b
9e60ee4
 
 
 
505e8d0
 
9e60ee4
 
505e8d0
9e60ee4
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
---
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)