Bug 316897 - Face Detection improvements by colors filtering and using EXIF orientation
Summary: Face Detection improvements by colors filtering and using EXIF orientation
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Faces-Detection (show other bugs)
Version: 3.0.0
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-17 10:45 UTC by Axel Krebs
Modified: 2019-12-27 11:37 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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