justadudewhohacks / face-api.js

JavaScript API for face detection and face recognition in the browser and nodejs with tensorflow.js
MIT License
16.74k stars 3.72k forks source link

Minimum and optimal android device specifications #143

Open WillemvdW opened 6 years ago

WillemvdW commented 6 years ago

Do you have some guidance of the minimum and optimal device specification to run face-api.js offline on a mobile device to detect faces, and to do facial recognition

justadudewhohacks commented 6 years ago

Not really. It should run on newer devices for sure, I was even able to run it on my old android phone. The tiny face detector and the landmark nets are very mobile friendly.

ScottDellinger commented 6 years ago

@justadudewhohacks In the same line of thought... are there any current device restrictions you can think of? I know it won't run in IE11, but are there any other known issues?

justadudewhohacks commented 6 years ago

Hm I actually never tried it in IE to be honest, I am using either Chrome or FireFox. But in general I would say, it should run on everything being able to run tfjs.

ScottDellinger commented 6 years ago

I've tested it in Chrome (PC and Android), Firefox (PC and Android), Edge (PC), Safari (on both Macbook and iPhone) and all seem to work! IE definitely doesn't work, as it doesn't support async functions.

justadudewhohacks commented 6 years ago

Hmm, but your talking about the examples here, right? The source code of the library itself gets transpiled down to es5, which should run in IE11.

rover886 commented 4 years ago

@justadudewhohacks

Is there any possibility that this should work on offline system?

I am working on a chromium based project for school examination software, where student will give exam on a computer which is not connected to internet, exam software will be deployed in local LAN. So if I integrate this to detect face, will it work if there is no internet? Can prefetch the model (and any other files) needed to run this.