AIAS/7_engine_hub/edge_computing
2021-12-01 17:30:05 +08:00
..
face_detection no message 2021-12-01 17:30:05 +08:00
README_CN.md no message 2021-12-01 17:30:05 +08:00
README.md no message 2021-12-01 17:30:05 +08:00

AIAS & DJL Android Demo

Introduction

In this example, you learn how to implement inference code with a pytorch model to detect faces in an image.

Lightweight model: The model github can be found at Ultra-Light-Fast-Generic-Face-Detector-1MB.

Face Detection

Sample 1 Sample 2
face1 face2

The minimum API level for this project is 26.

Setup

Use the following command to install this app on your Android phone:

cd face_detection

# for Linux/macOS
./gradlew iD

# for Windows
..\gradlew iD

It will install the application your Android phone.