face-detection
rotated face detection
Here’s a simple one I wrote with Python cv2 It’s not the most efficient thing, and it uses the naive way suggested by etarion, but it works fairly well for just normal head tilting (It detect anything from -40 to 40 head tilt, which is roughly as much as you can tilt your head staying … Read more
How to choose the cascade file for face detection?
To get an idea how successful each one is, how many false positives, and how much stuff in total it finds, I ran each XML file on 41,452 magazine covers and made a contact sheet and average of each. Here are the results on Flickr. The titles show the input XML filename and how many … Read more
Face Detection with Camera
There are two ways to detect faces: CIFaceDetector and AVCaptureMetadataOutput. Depending on your requirements, choose what is relevant for you. CIFaceDetector has more features, it gives you the location of the eyes and mouth, a smile detector, etc. On the other hand, AVCaptureMetadataOutput is computed on the frames and the detected faces are tracked and … Read more
Is it possible to use OpenCV or similar library in Javascript? [closed]
OpenCV has never been ported to JavaScript in its entirety, but individual parts and algorithms have: For face and face element detection (and other parts / objects), you could use js-objectdetect or HAAR.js which are ports of the OpenCV Object Detection based on Haar Feature Cascades. The very first face detection algorithm on the web … Read more
Android camera2 face detection
You can check the ML-KIT from Google: Detect faces with ML Kit on Android And there is a related sample app: vision-quickstart or if you are using the camera2 there is a working example: Camera2Vision
Haar Cascades vs. LBP Cascades in Face Detection [closed]
LBP is faster (a few times faster) but less accurate. (10-20% less than Haar). If you want to detect faces on an embedded system, LBP is the default choice, because it does its calculations in integers. Haar uses floats for processing, which have poorer support on embedded and mobile processors; as a result, the performance … Read more
Detect face then autocrop pictures
I have managed to grab bits of code from various sources and stitch this together. It is still a work in progress. Also, do you have any example images? ”’ Sources: PIL to OpenCV image Computer vision: OpenCV realtime face detection in Python ”’ #Python 2.7.2 #Opencv 2.4.2 #PIL 1.1.7 import cv import Image def DetectFace(image, … Read more
Viola-Jones’ face detection claims 180k features
Upon closer look, your code looks correct to me; which makes one wonder whether the original authors had an off-by-one bug. I guess someone ought to look at how OpenCV implements it! Nonetheless, one suggestion to make it easier to understand is to flip the order of the for loops by going over all sizes … Read more