November 2018
Beginner
472 pages
13h 5m
English
Start with the troubleshooting steps that we covered for the previous behavior—this should get you most of the way.
If the camera is failing to detect faces in the picture, try making sure the area is well lit. The detection algorithm is only for faces that face the camera straight on, and anything obscuring a part of the face will fool it. Faces only partially in frame are also likely to be missed. Faces that are too far away or small are filtered Reducing the minimum parameter may help with this, but may also generate false positives, as tiny face-like objects can be picked up.
Please do check the indentation matches, as this can change the meaning of where things happen in Python.