Pico.js – A face-detection library in 200 lines of JavaScript (2018)
nenadmarkus.com
nenadmarkus.com
Also what's the mechanism behind the turning? If I counted this right it would have to be like 48 servos which sounds expensive, but also is an interesting number because that's exactly 3 of those PCA 16 channel servo expansion boards...
Complaining about the unobscured faces would start the conversation about training data and its diminished inclusivity. But, your comment focused on the perception a person looking at the result might have, given the incomplete feature set of this software. I am having trouble imagining the sort of visitor xrd would disappoint with the imperfect image, that he should want to have retained, that wouldn't complain when noticing the gap him or herself during testing.
Could you please elaborate ?
If your face detection works 80% or 95% of the time, don't try and deceive me into thinking it's 100% accurate, only to leave me disappointed when I go through the effort of downloading/configuring/testing it and then find out it's worse that the solution I'm trying to replace.
FTFY
var cascadeurl = 'https://raw.githubusercontent.com/nenadmarkus/pico/c2e81f9d23cc11d1a612fd21e4f9de0921a5d0d9/rnt/cascades/facefinder';
var puplocurl = 'https://drone.nenadmarkus.com/data/blog-stuff/puploc.bin'
The former is 234 KB, the latter is 1.4 MBI can write a naive spell checker in a few dozen lines of Python, say 100 lines. I’ll need a dictionary file for it to be useful though. Would you claim my code is 100 lines or 50100 (assuming dict file has 50k words) lines?
(I wrote JS-based face detector a decade ago: https://liuliu.me/eyes/javascript-face-detection-explained/)
E.g. Microsoft has a Vision API. Per https://azure.microsoft.com/en-us/pricing/details/cognitive-..., it's $1 per 1000 requests (with the first 5000 being free). They also have PhotoDNA, which is free but does a subset of SFW.
PixLab is another option (https://pixlab.io/cmdls).
Google has an API too (Cloud Vision).
If you go down this path, you'll have to do your own research on which service works best and what you can afford.