<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div style="line-break:after-white-space">Hi Robert,
<div>It looks like the face database isn’t trained.  I see digiKam detected over 4700 faces, but it couldn’t match those faces to a name.  This is typically because the face database isn’t trained.</div>
<div><br>
</div>
<div>Did you go to Tools->Maintenance->Detect and Recognize Faces and check rebuild all training data.</div>
<div><br>
</div>
<div>Also, you do have some of the faces tagged with names, yes?</div>
<div><br>
</div>
<div>Cheers,</div>
<div>Mike<br id="x_lineBreakAtBeginningOfMessage">
<div><br>
<blockquote type="cite">
<div>On Apr 12, 2025, at 6:03 PM, robert lindsay <robert.lindsay@gmail.com> wrote:</div>
<br class="x_Apple-interchange-newline">
<div>
<div dir="ltr">forgive me for the delay in replying. I thought I sent this out thursday, but apparently not. I deleted recognition.db. reran everything, still no joy. Attached is the log file</div>
<br>
<div class="x_gmail_quote x_gmail_quote_container">
<div dir="ltr" class="x_gmail_attr">On Sun, Apr 6, 2025 at 10:21 PM Michael Miller <<a href="mailto:michael_miller@msn.com">michael_miller@msn.com</a>> wrote:<br>
</div>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div>
<div>Hi Robert,
<div>The problem is the face DB is failing the upgrade step.  The easiest option is close digiKam, and then find a database file called recognition.db and delete it.  If you go to Settings->Database you should see the directory name that contains recognition.db.
 When you restart digiKam, it should create an empty recognition.db in the correct format.  Then in digiKam go to Tools->Maintenance->Detect and Recognize Faces, and rebuild all training data.</div>
<div><br>
</div>
<div>You shouldn’t lose any face data be deleting the recognition.db because all the data will be rebuilt from digikam4.db.</div>
<div><br>
</div>
<div>Cheers,</div>
<div>Mike<br id="x_m_-4796521715165281956x_lineBreakAtBeginningOfMessage">
<div><br>
<blockquote type="cite">
<div>On Apr 6, 2025, at 7:45 PM, robert lindsay <<a href="mailto:robert.lindsay@gmail.com" target="_blank">robert.lindsay@gmail.com</a>> wrote:</div>
<br>
<div>
<div dir="ltr">
<div>weirdly what you suggested didnt work, but this is what did</div>
<div>export QT_LOGGING_RULES='digikam.*=true'</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div dir="ltr">
<div dir="ltr"><br>
</div>
<br>
<div>
<div dir="ltr">On Sun, Apr 6, 2025 at 8:10 AM Michael Miller <<a href="mailto:michael_miller@msn.com" target="_blank">michael_miller@msn.com</a>> wrote:<br>
</div>
<blockquote style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div><font size="6">Hi Robert, </font>
<div><font size="6">Unfortunately, that didn’t work quite right.  Can you please re-run the steps, but this time please type this line by hand</font></div>
<div><font size="6">export QT_LOGGING_RULES=“digikam"=</font><font size="6">true”</font></div>
<div><font size="6"><br>
</font></div>
<div><font size="6">The quotes got translated to something “prettier”, but aren’t recognized by digiKam.  You can see it in the line</font></div>
<div>
<blockquote type="cite">
<div dir="ltr"><font size="6">qt.core.logging: Ignoring malformed logging rule: '“digikam*=true”'</font></div>
</blockquote>
<div><br>
</div>
It didn’t give me all the debug information I needed.</div>
<div><br>
</div>
<div>Also, these lines are concerning:</div>
<div>
<blockquote type="cite">
<div dir="ltr">QObject::connect: Cannot queue arguments of type 'MLPipelinePackageNotify::Ptr'<br>
(Make sure 'MLPipelinePackageNotify::Ptr' is registered using qRegisterMetaType().)<br>
digikam.metaengine: ExifTool is not available to load metadata...</div>
</blockquote>
<br>
</div>
<div>The first two lines don’t appear in my MacOS or Linux runs.  Gilles or Maik, do you have any ideas?</div>
<div><br>
</div>
<div>The ExifTool line is concerning if you have use ExifTool enabled for reading/writing metadata.</div>
<div><br>
</div>
<div>Cheers,</div>
<div>Mike<br>
<div><br>
<blockquote type="cite">
<div>On Apr 5, 2025, at 11:09 PM, robert lindsay <<a href="mailto:robert.lindsay@gmail.com" target="_blank">robert.lindsay@gmail.com</a>> wrote:</div>
<br>
<div>
<div dir="ltr">
<div>the log was only 4k so I'll justpaste it</div>
<div><br>
</div>
<div>2025-04-05 17:48:48.811 digikam[29682:24188837] WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES.<br>
digikam.metaengine: ExifTool process cannot be started ( "/usr/local/bin/exiftool" )<br>
qt.qpa.fonts: Populating font family aliases took 94 ms. Replace uses of missing font family "Sans Serif" with one that exists to avoid this cost.
<br>
kf.config.core: Watching absolute paths is not supported "/Applications/digiKam.org/<a href="http://digikam.app/Contents/Resources/digikam/colorschemes/darkroom.colors" originalsrc="http://digikam.app/Contents/Resources/digikam/colorschemes/darkroom.colors" target="_blank">digikam.app/Contents/Resources/digikam/colorschemes/darkroom.colors</a>"<br>
kf.xmlgui: Unhandled container to remove :  Digikam::DigikamApp<br>
kf.windowsystem: Could not find any platform plugin<br>
QObject::connect: Cannot queue arguments of type 'MLPipelinePackageNotify::Ptr'<br>
(Make sure 'MLPipelinePackageNotify::Ptr' is registered using qRegisterMetaType().)<br>
qt.core.logging: Ignoring malformed logging rule: '“digikam*=true”'<br>
2025-04-05 18:03:18.637 digikam[29937:24201045] WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES.<br>
digikam.metaengine: ExifTool process cannot be started ( "/usr/local/bin/exiftool" )<br>
qt.qpa.fonts: Populating font family aliases took 86 ms. Replace uses of missing font family "Sans Serif" with one that exists to avoid this cost.
<br>
kf.config.core: Watching absolute paths is not supported "/Applications/digiKam.org/<a href="http://digikam.app/Contents/Resources/digikam/colorschemes/darkroom.colors" originalsrc="http://digikam.app/Contents/Resources/digikam/colorschemes/darkroom.colors" target="_blank">digikam.app/Contents/Resources/digikam/colorschemes/darkroom.colors</a>"<br>
kf.xmlgui: Unhandled container to remove :  Digikam::DigikamApp<br>
kf.windowsystem: Could not find any platform plugin<br>
QPainter::begin: Paint device returned engine == 0, type: 2<br>
QPainter::setCompositionMode: Painter not active<br>
QPainter::end: Painter not active, aborted<br>
QPainter::begin: Paint device returned engine == 0, type: 2<br>
QPainter::setCompositionMode: Painter not active<br>
QPainter::end: Painter not active, aborted<br>
QPainter::begin: Paint device returned engine == 0, type: 2<br>
QPainter::setCompositionMode: Painter not active<br>
QPainter::end: Painter not active, aborted<br>
QPainter::begin: Paint device returned engine == 0, type: 2<br>
QPainter::setCompositionMode: Painter not active<br>
QPainter::end: Painter not active, aborted<br>
QPainter::begin: Paint device returned engine == 0, type: 2<br>
QPainter::setCompositionMode: Painter not active<br>
QPainter::end: Painter not active, aborted<br>
QPainter::begin: Paint device returned engine == 0, type: 2<br>
QPainter::setCompositionMode: Painter not active<br>
QPainter::end: Painter not active, aborted<br>
QPainter::begin: Paint device returned engine == 0, type: 2<br>
QPainter::setCompositionMode: Painter not active<br>
QPainter::end: Painter not active, aborted<br>
QPainter::begin: Paint device returned engine == 0, type: 2<br>
QPainter::setCompositionMode: Painter not active<br>
QPainter::end: Painter not active, aborted<br>
QPainter::begin: Paint device returned engine == 0, type: 2<br>
QPainter::setCompositionMode: Painter not active<br>
QPainter::end: Painter not active, aborted<br>
QPainter::begin: Paint device returned engine == 0, type: 2<br>
QPainter::setCompositionMode: Painter not active<br>
QPainter::end: Painter not active, aborted<br>
QPainter::begin: Paint device returned engine == 0, type: 2<br>
QPainter::setCompositionMode: Painter not active<br>
QPainter::end: Painter not active, aborted<br>
QPainter::begin: Paint device returned engine == 0, type: 2<br>
QPainter::setCompositionMode: Painter not active<br>
QPainter::end: Painter not active, aborted<br>
QPainter::begin: Paint device returned engine == 0, type: 2<br>
QPainter::setCompositionMode: Painter not active<br>
QPainter::end: Painter not active, aborted<br>
QPainter::begin: Paint device returned engine == 0, type: 2<br>
QPainter::setCompositionMode: Painter not active<br>
QPainter::end: Painter not active, aborted<br>
QPainter::begin: Paint device returned engine == 0, type: 2<br>
QPainter::setCompositionMode: Painter not active<br>
QPainter::end: Painter not active, aborted<br>
QPainter::begin: Paint device returned engine == 0, type: 2<br>
QPainter::setCompositionMode: Painter not active<br>
QPainter::end: Painter not active, aborted<br>
QObject::connect: Cannot queue arguments of type 'MLPipelinePackageNotify::Ptr'<br>
(Make sure 'MLPipelinePackageNotify::Ptr' is registered using qRegisterMetaType().)<br>
digikam.metaengine: ExifTool is not available to load metadata...<br>
<br>
</div>
</div>
<br>
<div>
<div dir="ltr">On Sat, Apr 5, 2025 at 2:53 PM Michael Miller <<a href="mailto:michael_miller@msn.com" target="_blank">michael_miller@msn.com</a>> wrote:<br>
</div>
<blockquote style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div>Hi Robert,
<div>Can you send us a debug log? To generate a debug log file on a Mac, follow these steps:</div>
<div><br>
</div>
<div>
<ol>
<li>Open Terminal</li><li>In Terminal, type this line: export QT_LOGGING_RULES=“digikam*=true”</li><li>In Terminal, launch digiKam with this command (all on the same line): /Applications/digiKam.org/<a href="http://digikam.app/Contents/MacOS/digikam" originalsrc="http://digikam.app/Contents/MacOS/digikam" target="_blank">digikam.app/Contents/MacOS/digikam</a>
 >> ~/Downloads/digikam.log 2>&1</li><li>Run a face scan like normal</li><li>Exit digiKam</li><li>Open your Downloads folder in finder</li><li>Find the digikam.log file, and right-click on it and select “Compress"</li></ol>
<div><br>
</div>
</div>
<div>Send us the compressed log file and we’ll take a look.</div>
<div><br>
</div>
<div>Cheers,</div>
<div>Mike<br id="x_m_-4796521715165281956x_m_-4455881122828320646m_-2576498992383437458m_1300009657603569064lineBreakAtBeginningOfMessage">
<div><br>
<blockquote type="cite">
<div>On Apr 5, 2025, at 2:28 PM, robert lindsay <<a href="mailto:robert.lindsay@gmail.com" target="_blank">robert.lindsay@gmail.com</a>> wrote:</div>
<br>
<div>
<div dir="auto">When i start the search on a small subset of my pics (roughly 1000) I get the message it's starting the scan. After 20 minutes it still says its at 0% then eventually it just ends, no faces are found no option to tag. I'm on a intel processor
 BTW</div>
<br>
<div>
<div dir="ltr">On Sat, Apr 5, 2025, 12:44 PM Michael Miller <<a href="mailto:michael_miller@msn.com" target="_blank">michael_miller@msn.com</a>> wrote:<br>
</div>
<blockquote style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div>
<div dir="auto">Hi Robert,</div>
<div dir="auto">Can you please give us more information? What exactly do you mean by it isn't working? Is it not detecting faces in images? Is not matching unknown faces to tagged faces? Is face recognition enabled in the download screen?</div>
<div dir="auto"><br>
</div>
<div dir="auto">Face recognition works great on MacOS Sonoma. I'm a Mac guy, too, and I wrote it using an M1 MacBook Pro running Sonoma.</div>
<div dir="auto"><br>
</div>
<div dir="auto">Cheers,</div>
<div dir="auto">Mike</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div id="x_m_-4796521715165281956x_m_-4455881122828320646m_-2576498992383437458m_1300009657603569064m_-7595008936323222933composer_signature" dir="auto">
<div dir="auto" style="font-size:12px; color:rgb(87,87,87)">Sent from my T-Mobile 5G Device</div>
</div>
<div dir="auto"><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>-------- Original message --------</div>
<div>From: robert lindsay <<a href="mailto:robert.lindsay@gmail.com" rel="noreferrer" target="_blank">robert.lindsay@gmail.com</a>>
</div>
<div>Date: 4/5/25 11:43 AM (GMT-05:00) </div>
<div>To: digiKam - Home Manage your photographs as a professional with the power of open source <<a href="mailto:digikam-users@kde.org" rel="noreferrer" target="_blank">digikam-users@kde.org</a>>
</div>
<div>Subject: Facial recognition isn't working </div>
<div><br>
</div>
<div>
<div dir="auto">Digram 8.6 on mac Sonoma </div>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
<div>
<div>
<div>
<blockquote type="cite">
<div></div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
</div>
</div>
<div style="line-break:after-white-space">
<div>
<div>
<blockquote type="cite">
<div></div>
</blockquote>
</div>
<br>
</div>
</div>
</body>
</html>