Bug 423307 - warnings on face detection with movies
Summary: warnings on face detection with movies
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Faces-Detection (other bugs)
Version First Reported In: 7.0.0
Platform: Ubuntu Linux
: NOR minor
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-21 05:14 UTC by Marcel
Modified: 2020-06-21 06:18 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 7.0.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcel 2020-06-21 05:14:30 UTC
SUMMARY
Having movies in the same folder with the pictures and running face detection, results in 2 warnings on each movie. This is bad as it overloads the output.

STEPS TO REPRODUCE
1. Folder with movie files
2. Run face detection
3. See terminal while face detection is running

OBSERVED RESULT
Digikam::PreviewLoadingTask::execute: Cannot extract preview for "/media/nas326/photo/2008/080924_1006 Tarifa/MOV01228.MPG.wmv"
Digikam::DImg::load: "/media/nas326/photo/2008/080924_1006 Tarifa/MOV01234.MPG.wmv" : Unknown image format !!!

EXPECTED RESULT
Movies are not supported by face detection, so it should not result in a warning.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Ubuntu 20.04

ADDITIONAL INFORMATION
Comment 1 Maik Qualmann 2020-06-21 06:05:27 UTC
Yes and no. DigiKam is plugin-capable, there could be a possibility that an external plugin could decode an image from the video and the facial engine would then detected faces. We shouldn't generally exclude file types. I will change the debug level from warning to debug. Debug output is disabled by default.

Maik
Comment 2 Maik Qualmann 2020-06-21 06:18:52 UTC
Git commit e62e25be1f48ae2f407e93ecabf0beb9d3b1e7b2 by Maik Qualmann.
Committed on 21/06/2020 at 06:15.
Pushed by mqualmann into branch 'master'.

change debug level
FIXED-IN: 7.0.0

M  +2    -1    NEWS
M  +1    -1    core/libs/dimg/dimg_fileio.cpp
M  +1    -1    core/libs/threadimageio/preview/previewtask.cpp

https://invent.kde.org/graphics/digikam/commit/e62e25be1f48ae2f407e93ecabf0beb9d3b1e7b2