Building Computer Vision Projects with OpenCV 4 and C++
by David Millan Escriva, Prateek Joshi, Vinicius G. Mendonca, Roy Shilkrot
Collection mode
We enter the Collection mode when the user clicks on the Add Person button to signal that they want to begin collecting faces for a new person. As mentioned previously, we have limited the face collection to one face per second, and then only if it has changed noticeably from the previously collected face. And remember, we decided to collect not only the preprocessed face, but also the mirror image of the preprocessed face.
In the Collection mode, we want to show the most recent face of each known person and let the user click on one of those people to add more faces to them, or click the Add Person button to add a new person to the collection. The user must click somewhere in the middle of the window to continue to the next ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access