nguyenkhacduyngoc / censorface-js

Face Detection in Javascript by ONNX.js

Home Page:http:/nickuntitled.github.io/censorface-js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

censorface-js

Censorface in Javascript by ONNX.js. In this repository, it is the example of Retinaface which is a state-of-the-art single stage face detection algorithm shown in CVPR 2020. The paper you can follow this paper which has title RetinaFace: Single-stage Dense Face Localisation in the Wild.

The Model is from Pytorch model at this repository converted into ONNX model.

Example

For demo the application, you can clone this repo in order to test the face detection algorithm by censoring the face by using Retinaface with MobileNetV2 as a backbone and applying the two facial landmarks as anchor for the black box.

How to run this repo. You can run by type below.

yarn install
yarn start

Result

Here is the result of the Censorface below.

Censor result

Citation
=========
Deng J, Guo J, Zhou Y, Yu J, Kotsia I, Zafeiriou S. Retinaface: Single-stage dense face localisation in the wild. arXiv preprint arXiv:1905.00641. 2019 May 2.

About

Face Detection in Javascript by ONNX.js

http:/nickuntitled.github.io/censorface-js


Languages

Language:JavaScript 87.5%Language:HTML 12.5%