recognizing faces and people

Ideas for improvements and requests for new features in XnView MP

Moderators: XnTriq, xnview

pberger
Posts: 1
Joined: Sun Feb 17, 2019 4:36 pm

Re: recognizing faces and people

Post by pberger » Sun Feb 17, 2019 4:42 pm

I am using Google Picasa for a long time - but now the errors are increasing.
I spent lot of time to tag my pictures (>100,000) with face recognition tags (I let Picasa store them (and the postion) in XMP extension).
It would be great if XnView would also allow a face recognition like Picasa did - and even better recognise the already identified pictures.

User avatar
xnview
Author of XnView
Posts: 31143
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: recognizing faces and people

Post by xnview » Mon Feb 18, 2019 8:06 am

michel038 wrote:
Fri Oct 19, 2018 4:37 pm
If XnviewMP could import Picasa faces informations (instead of using AvPicFace) it would be easier to proceed ...
what do you means?
Pierre.

User avatar
michel038
Posts: 303
Joined: Tue Sep 27, 2016 8:18 am
Location: France

Re: recognizing faces and people

Post by michel038 » Mon Feb 18, 2019 11:11 am

Picasa creates a .picasa.ini file in each directory.
This file contains persons and pictures names
This is a sample file for a directory containing 7 photos where 4 persons were found:

Code: Select all

[Contacts2]
36174d7e26a42273=jean;;
3bf63009058334e3=pierre;;
2f7d4cbedf5a0607=alain;;
[DCP00533.JPG]
faces=rect64(3ae3284c97c7bd09),36174d7e26a42273;rect64(74383a5fbd55aed0),3bf63009058334e3
backuphash=15493
[DCP00528.JPG]
faces=rect64(7e0038e3c071a38e),36174d7e26a42273
backuphash=40440
[DCP00564.JPG]
faces=rect64(85092bc7c04b611c),3bf63009058334e3;rect64(22ab2ce358005ce3),2f7d4cbedf5a0607
backuphash=2334
[DCP00558.JPG]
faces=rect64(3b8e1439ada17b1c),3bf63009058334e3
backuphash=20354
[DCP00530.JPG]
faces=rect64(7aaa4bda927171c7),3bf63009058334e3;rect64(4400247278387800),36174d7e26a42273
backuphash=51582
[DCP00563.JPG]
faces=rect64(338e25095e00697b),2f7d4cbedf5a0607;rect64(bf1c2ed0dd545fb4),36174d7e26a42273
backuphash=27604
[DCP00529.JPG]
faces=rect64(37682dc7812f7000),36174d7e26a42273
backuphash=46243
Picasa uses alsoo : contacts.xml file ( in C:\Users\Michel038\AppData\Local\Google\Picasa2\contacts\contacts.xml )

Code: Select all

<?xml version="1.0"?>
-<contacts>
<contact local_contact="1" modified_time="2018-10-13T22:13:58+02:00" name="jean" id="36174d7e26a42273"/>
<contact local_contact="1" modified_time="2018-10-13T22:12:09+02:00" name="pierre" id="3bf63009058334e3"/>
<contact local_contact="1" modified_time="2018-10-13T22:12:40+02:00" name="alain" id="2f7d4cbedf5a0607"/>
The job for Xnviewmp would be to read these files, and add person names in xmp or iptc metadata (keywords ?)
J'ai décrit l'utilisation de AvPicFaceXmpTagger en français ici : http://orchisere.pagesperso-orange.fr/l ... .htm#apfxt
C'est d'utiliser ce troisième logiciel qui est fastidieux et source d'erreurs.

But someone said that Picasa can write names in xmp metadata with an add-on or a parameter ... I must work on this

User avatar
michel038
Posts: 303
Joined: Tue Sep 27, 2016 8:18 am
Location: France

Re: recognizing faces and people

Post by michel038 » Mon Feb 18, 2019 1:16 pm

someone said that Picasa can write names in xmp metadata with an add-on or a parameter ... I must work on this
Here is a page with explanations and methods:
https://sites.google.com/site/picasasta ... nto-photos
Picasa Starter is a tool used to tune Picasa settings...

jms
Posts: 13
Joined: Thu Aug 18, 2016 3:02 pm

Re: recognizing faces and people

Post by jms » Mon Feb 18, 2019 8:20 pm

Would it help if I write a face detection in python?

User avatar
m.Th.
XnThusiast
Posts: 1530
Joined: Wed Aug 16, 2006 6:31 am
Contact:

Re: recognizing faces and people

Post by m.Th. » Tue Feb 19, 2019 4:14 pm

m. Th.

The Ascetic Experience - The best photos and texts from Holy Mountain (Athos)

- Dark Themed XnViewMP 0.90 64bit & XnView 2.00 x64 on Win7 x64 -

jms
Posts: 13
Joined: Thu Aug 18, 2016 3:02 pm

Re: recognizing faces and people

Post by jms » Tue Feb 19, 2019 7:32 pm

Einfach nur erkennen, dass und wo überhaupt ein Gesicht ist, das ist leicht.
Bestimmte Leute erkennen ist nicht so leicht.

User avatar
xnview
Author of XnView
Posts: 31143
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: recognizing faces and people

Post by xnview » Thu Feb 21, 2019 4:01 pm

jms wrote:
Mon Feb 18, 2019 8:20 pm
Would it help if I write a face detection in python?
how can we integrate your script into XnViewMP?
Pierre.

Post Reply