Jump to content

[How-to] Improve face recognition


Oleg.Ross

Recommended Posts

Starting from 7.6.0.2725+ we have added the "DoNotResize" setting for Face Recognition to the catalog configuration file.

How it works:

Default setting is DoNotResize="false". The face recognition process can generally be described with the following steps:

1.Generate Mid-size preview (2000x2000)

2.Resize to 1000x1000

3.Start the recognition process

We are using Dlib for face recognition and the library has this limitation:

Quote

Does not detect small faces as it is trained for minimum face size of 80×80. Thus, you need to make sure that the face size should be more than that in your application.

Warning!

When resize is disabled, face recognition process can take more time and use more CPU power. It's not recommended to disable it for large catalogs.

How-to change the setting:

1.Log in to the system as administrator 

2.Stop Daminion server 

3. Go to server dir ( ex. C:\Program Files(x86)\Daminion Software\Daminion Server\

4.Find catalog.config and copy to desktop

5.Open catalogs.config with Notepad

6.Find string -   doNotResizeFaces="false" and change "false" to "true"

7.Save 

8.Copy catalog.config back to server dir (overwrite)

10.Restart Pc to apply changes.

9.Start server

This setting will be applied only for new imported photos.

There is a visual explanation in pdf file:

Faces.pdf

Link to comment
Share on other sites

  • Oleg.Ross pinned this topic
  • 3 months later...
  • 1 year later...

Hi,

Due to poor face recognition (> 80*80 pixels) under 9.0 - 3480, looks like this post and faces.pdf file is out dated.

I can find catalogs.config in C:\Program Files\Daminion Software\Daminion Server\
not in C:\Program Files(x86)\Daminion Software\Daminion Server\

but inside file no such string : doNotResizeFaces="false"

Here is content of catalogs.config :

<?xml version="1.0" encoding="utf-8" ?>
<ServerCatalogs defaultThumbnailsStorePath="C:\ProgramData\Daminion Software\Daminion Server\Thumbnails">
    <Catalogs>
        <Catalog catalogName="NetCatalog" mediaStorePath="D:\Daminion Server "
            thumbnailsStorePath="C:\ProgramData\Daminion Software\Daminion Server\Thumbnails\NetCatalog"
            videoStorePath="C:\ProgramData\Daminion Software\Daminion Server\Video"
            webaccess="true" databasePort="5432" transportPort="8082"
            fileTransportPort="8084" databasePassword="postgres" />
    </Catalogs>
</ServerCatalogs>

 

 

Link to comment
Share on other sites

2 hours ago, kalain said:

Hi,

Due to poor face recognition (> 80*80 pixels) under 9.0 - 3480, looks like this post and faces.pdf file is out dated.

I can find catalogs.config in C:\Program Files\Daminion Software\Daminion Server\
not in C:\Program Files(x86)\Daminion Software\Daminion Server\

but inside file no such string : doNotResizeFaces="false"

Here is content of catalogs.config :

<?xml version="1.0" encoding="utf-8" ?>
<ServerCatalogs defaultThumbnailsStorePath="C:\ProgramData\Daminion Software\Daminion Server\Thumbnails">
    <Catalogs>
        <Catalog catalogName="NetCatalog" mediaStorePath="D:\Daminion Server "
            thumbnailsStorePath="C:\ProgramData\Daminion Software\Daminion Server\Thumbnails\NetCatalog"
            videoStorePath="C:\ProgramData\Daminion Software\Daminion Server\Video"
            webaccess="true" databasePort="5432" transportPort="8082"
            fileTransportPort="8084" databasePassword="postgres" />
    </Catalogs>
</ServerCatalogs>

 

 

Hello the setting is displayed in the GUI. By default the checkbox is checked, if you want more accurate recognition uncheck the checkbox and restart the server. This setting is equivalent to the one described in the first post.

123.jpg

Link to comment
Share on other sites

Hi Oleg,

Thanks for the tip, this improved results by there is still some strange issues.

No way to find second person as shown below, even after clearing informations and process again !!

image.jpeg.61416a54cc71e28d8797e8bf887ba05b.jpeg

In my case, I'd say that face recognition is working at 40%.
60% missing are like example above !!
Not extreme or difficult face to find.

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...