File size: 971 Bytes
1cc96c4
73533e1
7f6cab6
ac064d3
1cc96c4
9e60ee4
 
 
 
 
 
b8dd787
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
---
license: apache-2.0
library_name: unity-sentis
pipeline_tag: object-detection
---

# Blaze Face face detector in Unity Sentis Format
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.3.0-pre.3` from the package manager
* Put the blazeface.sentis file in the Assets/StreamingAssets folder
* 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 for the bounding box image to the faceTexture 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)