digikam-7.0.0-beta2-20200103T141401-x86-64.appimage 03-Jan-2020 19:30 USED SUMMARY No Faces detected by the digikam recognition engine. (I can not found a bug that already opened for the version 7, please correct me maybe this is my fault) STEPS TO REPRODUCE 1. manually tagging about 100 unknown faces 2. start a new recognition scan with all keywords and all albums OBSERVED RESULT after reaching 100% at the section unconfirmed no results This procedure is repeatable. The bug is present since the first beta i have tested before christmas Operating System: Manjaro Linux KDE Plasma Version: 5.17.4 KDE Frameworks Version: 5.65.0 Qt Version: 5.14.0 Kernel Version: 4.19.91-1-MANJARO OS Type: 64-bit Processors: 4 × Intel® Core™ i5-7200U CPU @ 2.50GHz Memory: 7,7 GiB
The training mode may still be in the old "LBPH" mode through the configuration file. Thanh fixed that yesterday. Maik
digikam-7.0.0-beta2-20200105T130918-x86-64.appimage 05-Jan-2020 18:25 USED No changes. I will stand by and will write when there are some changes =)
Git commit 9d60f152e77b5201ce6bf23473684a32444bf586 by Maik Qualmann. Committed on 09/01/2020 at 17:48. Pushed by mqualmann into branch 'master'. fix wrong item selection for face recognition Related: bug 416018, bug 416028, bug 415782, bug 415895 M +3 -1 NEWS M +0 -29 core/utilities/facemanagement/widgets/facescanwidget.cpp M +15 -0 core/utilities/maintenance/facesdetector.cpp https://invent.kde.org/kde/digikam/commit/9d60f152e77b5201ce6bf23473684a32444bf586
digikam-7.0.0-beta3-20200130T131559-x86-64-debug.appimage USED Hello new feedback from me. In this version the problem still exists. r4c3
Training database rebuilt in the maintenance tool? Maik
Okay. Where could i find this Option?
Go to Tools/Maintenance menu entry. Look in dialog, the face management section Gilles Caulier
Created attachment 125665 [details] Digikam crashes while searching for faces
Okay. I removed the data. But now digikam crashes. I have tried it two times. Look at the error log in the post before.
When you down to GDB prompt, please enter "bt" to get the calls backtrace. Q : It crash when it try to get MP4 file preview or not ? Gilles Caulier
This time I have tried it with multicore deactivated crashed at 18% Digikam::PreviewLoadingTask::execute: Cannot extract preview for "/run/media/martin/sda1/Bilder/2018/2018_09_22 - 10_22 USA Rundreise/Bilder USA noch sortieren/06.10.-10.10. LA/Hollywood Universal/GOPR8325.MP4" Thread 54 "Thread (pooled)" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fff64ff9700 (LWP 13804)] --Type <RET> for more, q to quit, c to continue without paging-- 0x00007ffff4396d96 in operator==(QString const&, QString const&) () from /tmp/.mount_digikag1KBz4/usr/lib/libQt5Core.so.5 (gdb) bt #0 0x00007ffff4396d96 in operator==(QString const&, QString const&) () from /tmp/.mount_digikag1KBz4/usr/lib/libQt5Core.so.5 #1 0x00007ffff6422585 in Digikam::LoadingDescription::equalsIgnoreReducedVersion (this=<optimized out>, other=...) at /b/dktemp/digikam-master/core/libs/threadimageio/fileio/loadingdescription.cpp:321 #2 0x00007ffff642bd6b in Digikam::SharedLoadingTask::notifyNewLoadingProcess (this=0x3d44f70, process=<optimized out>, description=...) at /b/dktemp/digikam-master/core/libs/threadimageio/fileio/loadsavetask.cpp:468 #3 0x00007ffff6423d40 in Digikam::LoadingCache::notifyNewLoadingProcess (this=this@entry=0x7fffbc031830, process=process@entry=0x3e35ae0, description=...) at /b/dktemp/digikam-master/core/libs/threadimageio/fileio/loadingcache.cpp:246 #4 0x00007ffff640aebf in Digikam::PreviewLoadingTask::execute (this=0x3e35920) at /b/dktemp/digikam-master/core/libs/threadimageio/preview/previewtask.cpp:165 #5 0x00007ffff642051e in Digikam::LoadSaveThread::run (this=0x2d132a0) at /b/dktemp/digikam-master/core/libs/threadimageio/fileio/loadsavethread.cpp:134 #6 0x00007ffff644504e in Digikam::DynamicThread::Private::run (this=0x340d220) at /b/dktemp/digikam-master/core/libs/threads/dynamicthread.cpp:191 #7 0x00007ffff42f8f47 in ?? () from /tmp/.mount_digikag1KBz4/usr/lib/libQt5Core.so.5 #8 0x00007ffff42f54f5 in ?? () from /tmp/.mount_digikag1KBz4/usr/lib/libQt5Core.so.5 #9 0x00007ffff3c744cf in start_thread () from /usr/lib/libpthread.so.0 #10 0x00007ffff3ba32d3 in clone () from /usr/lib/libc.so.6 (gdb)
I deployed today a new AppImage 64 bits avaialble at usual place : https://files.kde.org/digikam/ Please try again with the debug AppImage file on your computer... Gilles Caulier
digikam-7.0.0-beta3-20200204T110147-x86-64-debug.appimage 04-Feb-2020 16:08 at 52% freeze Digikam::PreviewLoadingTask::execute: Cannot extract preview for "/run/media/martin/sda1/Bilder/2018/2018_09_22 - 10_22 USA Rundreise/Bilder USA noch sortieren/23.09.18-26.09.18 New York/GOPR6823.MP4" Thread 5329 "Thread (pooled)" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffb4b37700 (LWP 20204)] --Type <RET> for more, q to quit, c to continue without paging-- Digikam::PreviewLoadingTask::execute (this=0x7438d60) at /b/dktemp/digikam-master/core/libs/threadimageio/preview/previewtask.cpp:374 374 /b/dktemp/digikam-master/core/libs/threadimageio/preview/previewtask.cpp: Datei oder Verzeichnis nicht gefunden. (gdb) bt #0 Digikam::PreviewLoadingTask::execute (this=0x7438d60) at /b/dktemp/digikam-master/core/libs/threadimageio/preview/previewtask.cpp:374 #1 0x00007ffff745f78e in Digikam::LoadSaveThread::run (this=0x3a8f2a0) at /b/dktemp/digikam-master/core/libs/threadimageio/fileio/loadsavethread.cpp:134 #2 0x00007ffff74843ae in Digikam::DynamicThread::Private::run (this=0xd951a0) at /b/dktemp/digikam-master/core/libs/threads/dynamicthread.cpp:191 #3 0x00007ffff41ebf47 in ?? () from /tmp/.mount_digika9miFhv/usr/lib/libQt5Core.so.5 #4 0x00007ffff41e84f5 in ?? () from /tmp/.mount_digika9miFhv/usr/lib/libQt5Core.so.5 #5 0x00007ffff3b694cf in start_thread () from /usr/lib/libpthread.so.0 #6 0x00007ffff3a962d3 in clone () from /usr/lib/libc.so.6 (gdb) the same problem
So the face detection was successful, this time no crash. But the RAM was full with 7 GB and 4 GB Swap. Then I tagged manually some faces and started the recognition from faces. But Digikam have after a successful face recognition. No results.
Now with the latest version no crash at anytime. But the Face-recognition does not work. Faced detection is working fine.
What value did you set for face accuracy? Trial between 50 and 70. Maik
So i have tried at 70 % Digikam crashed with the following error. It was not possible to type bt for backtrace. Digikam::DImg::load: "/run/media/martin/sda1/Bilder/2018/2018_09_22 - 10_22 USA Rundreise/Bilder USA noch sortieren/23.09.18-26.09.18 New York/Kamera Alpha 6000/24.09.18/20180924201329.m2ts" : Unknown image format !!! Digikam::PreviewLoadingTask::execute: Cannot extract preview for "/run/media/martin/sda1/Bilder/2018/2018_09_22 - 10_22 USA Rundreise/Bilder USA noch sortieren/23.09.18-26.09.18 New York/Kamera Alpha 6000/24.09.18/20180924201329.m2ts" Digikam::DImg::load: "/run/media/martin/sda1/Bilder/2018/2018_09_22 - 10_22 USA Rundreise/Bilder USA noch sortieren/23.09.18-26.09.18 New York/Kamera Alpha 6000/25.09.2018/20180925190355.m2ts" : Unknown image format !!! Digikam::PreviewLoadingTask::execute: Cannot extract preview for "/run/media/martin/sda1/Bilder/2018/2018_09_22 - 10_22 USA Rundreise/Bilder USA noch sortieren/23.09.18-26.09.18 New York/Kamera Alpha 6000/25.09.2018/20180925190355.m2ts" Digikam::DImg::load: "/run/media/martin/sda1/Bilder/2018/2018_09_22 - 10_22 USA Rundreise/Bilder USA noch sortieren/23.09.18-26.09.18 New York/Kamera Alpha 6000/25.09.2018/20180925190400.m2ts" : Unknown image format !!! Digikam::PreviewLoadingTask::execute: Cannot extract preview for "/run/media/martin/sda1/Bilder/2018/2018_09_22 - 10_22 USA Rundreise/Bilder USA noch sortieren/23.09.18-26.09.18 New York/Kamera Alpha 6000/25.09.2018/20180925190400.m2ts" Digikam::DImg::load: "/run/media/martin/sda1/Bilder/2018/2018_09_22 - 10_22 USA Rundreise/Bilder USA noch sortieren/23.09.18-26.09.18 New York/Kamera Alpha 6000/25.09.2018/20180925202337.m2ts" : Unknown image format !!! Digikam::PreviewLoadingTask::execute: Cannot extract preview for "/run/media/martin/sda1/Bilder/2018/2018_09_22 - 10_22 USA Rundreise/Bilder USA noch sortieren/23.09.18-26.09.18 New York/Kamera Alpha 6000/25.09.2018/20180925202337.m2ts" Digikam::DImg::load: "/run/media/martin/sda1/Bilder/2018/2018_09_22 - 10_22 USA Rundreise/Bilder USA noch sortieren/23.09.18-26.09.18 New York/Kamera Alpha 6000/26.09.2018/20180926011535.m2ts" : Unknown image format !!! Digikam::PreviewLoadingTask::execute: Cannot extract preview for "/run/media/martin/sda1/Bilder/2018/2018_09_22 - 10_22 USA Rundreise/Bilder USA noch sortieren/23.09.18-26.09.18 New York/Kamera Alpha 6000/26.09.2018/20180926011535.m2ts" Digikam::DImg::load: "/run/media/martin/sda1/Bilder/2018/2018_09_22 - 10_22 USA Rundreise/Bilder USA noch sortieren/27.09.18 Washington/Kamera Alpha 6000/29.09.2018/20180929194429.m2ts" : Unknown image format !!! Digikam::PreviewLoadingTask::execute: Cannot extract preview for "/run/media/martin/sda1/Bilder/2018/2018_09_22 - 10_22 USA Rundreise/Bilder USA noch sortieren/27.09.18 Washington/Kamera Alpha 6000/29.09.2018/20180929194429.m2ts" Digikam::DImg::load: "/run/media/martin/sda1/Bilder/2018/2018_09_22 - 10_22 USA Rundreise/Bilder USA noch sortieren/27.09.18 Washington/Kamera Alpha 6000/30.09.2018/20180930212217.m2ts" : Unknown image format !!! Digikam::PreviewLoadingTask::execute: Cannot extract preview for "/run/media/martin/sda1/Bilder/2018/2018_09_22 - 10_22 USA Rundreise/Bilder USA noch sortieren/27.09.18 Washington/Kamera Alpha 6000/30.09.2018/20180930212217.m2ts" Digikam::DImg::load: "/run/media/martin/sda1/Bilder/2018/2018_09_22 - 10_22 USA Rundreise/Bilder USA noch sortieren/27.09.18 Washington/Kamera Alpha 6000/30.09.2018/20180930212358.m2ts" : Unknown image format !!! Digikam::PreviewLoadingTask::execute: Cannot extract preview for "/run/media/martin/sda1/Bilder/2018/2018_09_22 - 10_22 USA Rundreise/Bilder USA noch sortieren/27.09.18 Washington/Kamera Alpha 6000/30.09.2018/20180930212358.m2ts" Digikam::DImg::load: "/run/media/martin/sda1/Bilder/2018/2018_09_22 - 10_22 USA Rundreise/Bilder USA noch sortieren/27.09.18 Washington/Kamera Alpha 6000/30.09.2018/20180930212542.m2ts" : Unknown image format !!! Digikam::PreviewLoadingTask::execute: Cannot extract preview for "/run/media/martin/sda1/Bilder/2018/2018_09_22 - 10_22 USA Rundreise/Bilder USA noch sortieren/27.09.18 Washington/Kamera Alpha 6000/30.09.2018/20180930212542.m2ts" Digikam::DImg::load: "/run/media/martin/sda1/Bilder/2018/2018_09_22 - 10_22 USA Rundreise/Bilder USA noch sortieren/USA HANDY A5 S5/20180923_211216.mp4" : Unknown image format !!! Digikam::PreviewLoadingTask::execute: Cannot extract preview for "/run/media/martin/sda1/Bilder/2018/2018_09_22 - 10_22 USA Rundreise/Bilder USA noch sortieren/USA HANDY A5 S5/20180923_211216.mp4" Digikam::DImg::load: "/run/media/martin/sda1/Bilder/2018/2018_09_22 - 10_22 USA Rundreise/Bilder USA noch sortieren/USA HANDY A5 S5/20181003_164755.mp4" : Unknown image format !!! Digikam::PreviewLoadingTask::execute: Cannot extract preview for "/run/media/martin/sda1/Bilder/2018/2018_09_22 - 10_22 USA Rundreise/Bilder USA noch sortieren/USA HANDY A5 S5/20181003_164755.mp4" Digikam::DImg::load: "/run/media/martin/sda1/Bilder/2018/2018_09_22 - 10_22 USA Rundreise/Bilder USA noch sortieren/USA HANDY A5 S5/20181003_164802.mp4" : Unknown image format !!! Digikam::PreviewLoadingTask::execute: Cannot extract preview for "/run/media/martin/sda1/Bilder/2018/2018_09_22 - 10_22 USA Rundreise/Bilder USA noch sortieren/USA HANDY A5 S5/20181003_164802.mp4" /tmp/.mount_digikab0danP/AppRun: Zeile 157: 2530 Speicherzugriffsfehler (Speicherabzug geschrieben) digikam $@ [martin@mangiare Applications]$ bt bash: bt: Kommando nicht gefunden.
The MP4 can be the source of the crash. Typically digiKam use ffmpeg to extra main video metadata from file and sometime, ffmpeg crash without to generate a caughting exception. Gilles Caulier
We have an "Unknown image format !!!" Error. This means that no loader tries to load the file. The Loader may not be removed from the task notification and will crash later after the task has been deleted. I'll take a closer look at it. Maik
So the recognition runs smoothly and there where some faces detectet. sensitivity at 50 % After some confirmations I tried a second run with the new digikam-7.0.0-beta3-20200205T071854-x86-64-debug.appimage after 30 seconds at 85 % sensitivity crash here the log, there is no unknown file Digikam::DNNFaceRecognizer::predict: Predicting face image Digikam::DNNFaceRecognizer::predict: m_threshold 0.9 Digikam::DNNFaceRecognizer::predict: vecdata: -0.000786947 0.0246152 Digikam::DNNFaceRecognizer::predict: Predicting face image Digikam::DNNFaceRecognizer::predict: m_threshold 0.9 Digikam::DNNFaceRecognizer::predict: vecdata: 0.151152 0.151986 Digikam::DNNFaceRecognizer::predict: Predicting face image /tmp/.mount_digikafONLZy/AppRun: Zeile 157: 3677 Speicherzugriffsfehler (Speicherabzug geschrieben) digikam $@ a third run at 85 % crash Digikam::DNNFaceRecognizer::predict: vecdata: 0.228353 0.108981 Digikam::DNNFaceRecognizer::predict: Predicting face image Digikam::DNNFaceRecognizer::predict: m_threshold 0.85 Digikam::DNNFaceRecognizer::predict: vecdata: 0.093414 0.0865588 Digikam::DNNFaceRecognizer::predict: Predicting face image Digikam::DNNFaceRecognizer::predict: m_threshold 0.85 Digikam::DNNFaceRecognizer::predict: vecdata: 0.164247 0.0716023 Digikam::DNNFaceRecognizer::predict: Predicting face image /tmp/.mount_digikaPP1AwJ/AppRun: Zeile 157: 6693 Speicherzugriffsfehler (Speicherabzug geschrieben) digikam $@ with parallel conformation of some faces! without tagging there is no error it runs perfect and the face detection works. I think it was the sensitivity. Thank you all.
Face detection crashes, when the hole collection is scanned at 85% [Thread 0x7fffb6379700 (LWP 6217) exited] [New Thread 0x7fffb6379700 (LWP 6222)] [New Thread 0x7fff7cb63700 (LWP 6223)] [New Thread 0x7fff61ffb700 (LWP 6229)] [Thread 0x7fffb6379700 (LWP 6222) exited] [Thread 0x7fff7cb63700 (LWP 6223) exited] Thread 17715 "Thread (pooled)" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fff96ffd700 (LWP 5886)] --Type <RET> for more, q to quit, c to continue without paging--öl.bt 0x00007ffff74528e7 in Digikam::LoadingTask::progressInfo (this=0x422e260, progress=0.699999988) at /b/dktemp/digikam-master/core/libs/threadimageio/fileio/loadsavetask.cpp:63 63 /b/dktemp/digikam-master/core/libs/threadimageio/fileio/loadsavetask.cpp: Datei oder Verzeichnis nicht gefunden. (gdb)
We know this crash. The wrong program code is executed, usually we are in an override code layer. With you again Intel Core I5. So far, this error has only occurred with Intel, mostly with I5. For some users, the problem has suddenly disappeared. I suspect it is related to kernel updates. As I said, just my glass ball. Maik
digikam-7.0.0-beta3-20200217T061208-x86-64.appimage I have the same Problem. My collection is about 1 million photos big. When I try to run a face detection with the maintence tool my 15GB Memory and my 3GB Swap runs full completely and digikam crashes. If I try to run a face recognition I get the bug that no identities to recognize. If I add manually some nothing changes. Sensitivity is set to 70.
I get the same crash with AMD Ryzen 5 3600. The whole stacktrace looks like this: #0 0x00007ffff70c9ba7 in Digikam::LoadingTask::progressInfo (this=0x594e290, progress=0.25) at /b/dktemp/digikam-master/core/libs/threadimageio/fileio/loadsavetask.cpp:63 #1 0x00007fffc55758fd in DigikamJPEGDImgPlugin::DImgJPEGLoader::load (this=0x7fff8c05fca0, filePath=..., observer=0x594e2a0) at /b/dktemp/digikam-master/core/dplugins/dimg/jpeg/dimgjpegloader_load.cpp:430 #2 0x00007ffff6fdafca in Digikam::DImg::load (this=this@entry=0x594e478, filePath=..., loadFlagsInt=loadFlagsInt@entry=63, observer=observer@entry=0x594e2a0, rawDecodingSettings=...) at /b/dktemp/digikam-master/core/libs/dimg/dimg_fileio.cpp:132 #3 0x00007ffff6fdc020 in Digikam::DImg::load (this=this@entry=0x594e478, filePath=..., observer=observer@entry=0x594e2a0, rawDecodingSettings=...) at /b/dktemp/digikam-master/core/libs/dimg/dimg_fileio.cpp:62 #4 0x00007ffff70a7f31 in Digikam::PreviewLoadingTask::execute (this=0x594e290) at /b/dktemp/digikam-master/core/libs/threadimageio/preview/previewtask.cpp:314 #5 0x00007ffff70bdd7e in Digikam::LoadSaveThread::run (this=0x57677f0) at /b/dktemp/digikam-master/core/libs/threadimageio/fileio/loadsavethread.cpp:134 #6 0x00007ffff70e2f9e in Digikam::DynamicThread::Private::run (this=0x576a930) at /b/dktemp/digikam-master/core/libs/threads/dynamicthread.cpp:191 #7 0x00007ffff3e8fd87 in ?? () from /home/rikky/Downloads/digikam-debug/squashfs-root/usr/lib/libQt5Core.so.5 #8 0x00007ffff3e8c335 in ?? () from /home/rikky/Downloads/digikam-debug/squashfs-root/usr/lib/libQt5Core.so.5 #9 0x00007ffff30616db in start_thread (arg=0x7fffb1d58700) at pthread_create.c:463 #10 0x00007ffff2d8aa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
@Enrico Which Linux distribution? Which digiKam version exactly? Maik
digikam 7.0.0 (appimage) on Ubuntu 18.04
Git commit 57185ae2f3f19de51e85b1e29d2bd06faefbfe6e by Maik Qualmann. Committed on 28/07/2020 at 19:18. Pushed by mqualmann into branch 'master'. use explicit the float type M +1 -1 core/dplugins/dimg/heif/dimgheifloader_load.cpp M +1 -1 core/dplugins/dimg/heif/dimgheifloader_save.cpp M +5 -5 core/dplugins/dimg/jpeg/dimgjpegloader_load.cpp M +2 -2 core/dplugins/dimg/jpeg/dimgjpegloader_save.cpp M +2 -2 core/dplugins/dimg/jpeg2000/dimgjpeg2000loader_load.cpp M +2 -2 core/dplugins/dimg/jpeg2000/dimgjpeg2000loader_save.cpp M +1 -1 core/dplugins/dimg/pgf/dimgpgfloader.cpp M +1 -1 core/dplugins/dimg/pgf/dimgpgfloader_load.cpp M +1 -1 core/dplugins/dimg/pgf/dimgpgfloader_save.cpp M +3 -3 core/dplugins/dimg/png/dimgpngloader_load.cpp M +1 -1 core/dplugins/dimg/png/dimgpngloader_save.cpp M +5 -5 core/dplugins/dimg/raw/dimgrawloader.cpp M +4 -4 core/dplugins/dimg/tiff/dimgtiffloader_load.cpp M +2 -2 core/dplugins/dimg/tiff/dimgtiffloader_save.cpp M +2 -2 core/libs/dimg/filters/icc/icctransform.cpp M +1 -1 core/libs/dimg/filters/raw/rawprocessingfilter.cpp M +1 -1 core/libs/dimg/loaders/dimgloader.h M +1 -1 core/libs/dimg/loaders/dimgloaderobserver.h https://invent.kde.org/graphics/digikam/commit/57185ae2f3f19de51e85b1e29d2bd06faefbfe6e
Just to let you know: For me, the face recognition has improvied a lot in 7.2.0-beta1, after the training database was rebuilt. Great work!
Hi, And this file can be closed now ? Gilles Caulier
Not closing, but the reporter may retest this issue with the 7.1.0 or the current 7.2.0-beta. Stefan
Face Recognition works really fine =) For me you can close this Bug. Thank you for the hard work.