Bug 316897

Summary: Face Detection improvements by colors filtering and using EXIF orientation
Product: [Applications] digikam Reporter: Axel Krebs <axel.krebs>
Component: Faces-DetectionAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: caulier.gilles, metzpinguin
Priority: NOR    
Version: 3.0.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 7.0.0
Sentry Crash Report:

Description Axel Krebs 2013-03-17 10:45:18 UTC
Face detection does not work very well it proivides many hits, which "cannot be" as green leafes, hous and other technical stuff. 

Besides, it looks like (no serious research conducted), as the _same_ face once upright is detected correctly. And, when finding the same face (of the pic!) but in horizontal/landscape orientation, face recognition will not work/recognize.

These observations bring me to the questions resp. suggestions:
1.) does face recognition works independent from orientation?
2.) what is the relationship of face recognition algorithm to EXIF- information?
3.) why green leafes can be recognized as "faces"? Does digiKam respect to Marsians?

 

Reproducible: Sometimes

Steps to Reproduce:
1. run face detection
2. after this step, you'll get faces, some recognized, some don't, some upright, some horizontal
3. 


Expected Results:  
Face recozghnition should work independent from orientatuion and should exclude "erratic" face colours.
Comment 1 caulier.gilles 2019-12-27 11:27:08 UTC
Maik,

Exif Orientation tag must be well supported in 7.0.0-beta1. Right ?


Gilles
Comment 2 caulier.gilles 2019-12-27 11:33:30 UTC
I'm sure. faces can be detected now with DNN outside the fact of orientation of image.

Look detection example for example where the face is inversed and fully detected properly. The Exif orientation in this image is set to Normal.

https://i.imgur.com/dsjNqFx.png

The Color Filtering is out of context with the new Neural Network engine. This depend of learning data model, and how we teach to detect and recognize a face...

I close this file now.

Gilles Caulier
Comment 3 Maik Qualmann 2019-12-27 11:36:37 UTC
We load a DImg for face detection, this is aligned if the option align to Exif tag is activated in the setup. So normally yes.

Maik