liveBook · Manning

Face-detection algorithm

A face-detection algorithm identifies and locates regions corresponding to human faces in images or video.

How 2 Manning books explain it

Build Your Own Robot: Using Python, CRICKIT, and Raspberry Pi

Face detection is the computer-vision task of locating faces in images or video.

How it is used
Drives a face-following camera by turning detected face positions into camera-direction decisions.
How deep it goes
Builds reusable OpenCV detection functions, live-video loops, timing measurements, and image-scaling optimization without training a classifier.
Examples
Uses a Raspberry Pi camera photo, marked detection rectangles, a live preview loop, and a pan-tilt camera mount.
What you can do after
Apply it via OpenCV to detect, mark, time, and speed up face detection in camera frames.

Read how Build Your Own Robot: Using Python, CRICKIT, and Raspberry Pi explains face-detection algorithm →

Fight Fraud with Machine Learning

Face detection is the computer-vision task of locating one or more faces within an image.

How it is used
Locates and crops faces as the first stage of KYC identity matching and duplicate checking.
How deep it goes
Implements detection with MTCNN and cropping, but does not explain detector internals or training.
Examples
Uses two Albert Einstein photographs, cropped faces, 512-dimensional embeddings, and a demonstrated cosine score of 0.7652.
What you can do after
Apply it via facenet_pytorch to crop faces before generating and comparing recognition embeddings.

Read how Fight Fraud with Machine Learning explains face-detection algorithm →

Also covered in

Related concepts

Questions about face-detection algorithm

What is face-detection algorithm?

A face-detection algorithm identifies and locates regions corresponding to human faces in images or video.

Which Manning books explain face-detection algorithm?

Build Your Own Robot: Using Python, CRICKIT, and Raspberry Pi and Fight Fraud with Machine Learning.

What kinds of face-detection algorithm are there?

Kinds of face-detection algorithm include MTCNN.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.