Skip to content

To make face and landmarks detection easy on Android based on SeetaFace2

Notifications You must be signed in to change notification settings

hzy3774/SeetaFace2Android

Repository files navigation

SeetaFace2Android

To make face and landmarks detection easy on Android based on SeetaFace2.

Details

SeetaFace2可以快速实现人脸识别和人脸关键点检测,该工程只是将其简单封装并对接Bitmap接口, 使Android开发时可以快速接入。

Dependencies

  • 只需要人脸检测(含人脸检测模型1.65MB)
implementation 'com.hzy.face:seeta2:1.0.0'
  • 人脸识别和关键点检测(含人脸检测和81关键点模型4.5MB)
implementation 'com.hzy.face:seeta2mark:1.0.0'
  • 也可以手动下载Model, 存放在/assets/seeta目录下:
  1. 人脸检测模型:点击下载
  2. 人脸关键点模型:点击下载

Screenshot

Face Detection Face Landmarks
pic pic

Instructions

下载Demo体验

下载Demo体验下载地址

Easy Java Api

// init
Seeta2Detector.INSTANCE.init(context);

// detect
Seeta2Detector.INSTANCE.detect(bitmap);

// landmarks
Seeta2Detector.INSTANCE.mark81(bitmap);

// destory
Seeta2Detector.INSTANCE.destory();

About Me

Contact To Me

image

Others

  • 想捐助我喝杯热水(¥0.01起捐)
    donate