External metadata service support in Digikam?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

External metadata service support in Digikam?

Jens Benecke-2
Hello,

how do I integrate an external service into Digikam?
I want to use Clarifai to do some automatic tagging (www.clarifai.com)
experiments since my tagging requirements take *way* too much time.
(Actually, I think this would be a great feature for Digikam by default
- automated AI based tagging ... ;) )

Basically I'm looking for a way to select some images and say "Send
these images to Clarifai via API and save the returned image tags to the
image metadata".

Is this possible at all without resorting to C++ and hacking the Digikam
source itself?

I know I can create a batch operation with a custom shell script but
this shell script expects a *different* image as the output - while I
just want to update the metadata.

Any ideas?

Thanks!

Jens
Reply | Threaded
Open this post in threaded view
|

Re: External metadata service support in Digikam?

Gilles Caulier-4
Hi,

This is a very interresting subject, but without a simple response to your question.

You cannot easily connect digiKam Database to this kind of remote web service. Only C++ code do it.

I recommend to post a wish to KDE bugzilla digiKam section about this topic. We can at least assign this idea to a future student for analysis.

Best

Gilles Caulier
 

2017-09-05 20:59 GMT+02:00 Jens Benecke <[hidden email]>:
Hello,

how do I integrate an external service into Digikam?
I want to use Clarifai to do some automatic tagging (www.clarifai.com) experiments since my tagging requirements take *way* too much time. (Actually, I think this would be a great feature for Digikam by default - automated AI based tagging ... ;) )

Basically I'm looking for a way to select some images and say "Send these images to Clarifai via API and save the returned image tags to the image metadata".

Is this possible at all without resorting to C++ and hacking the Digikam source itself?

I know I can create a batch operation with a custom shell script but this shell script expects a *different* image as the output - while I just want to update the metadata.

Any ideas?

Thanks!

Jens

Reply | Threaded
Open this post in threaded view
|

Re: External metadata service support in Digikam?

AndriusWild
I second on this one.
Large corporations e.g. Google and Microsoft have similar services embedded in their solutions e.g. Ms OneDrive and Google Photos but none of them let you download your data because they want you to be hooked to their services. If digiKam was capable of getting keywords from a server via API and write them to database/metadata/sidecars using Exiv2 that would be a great feature.

Best regards,

On Tue, Sep 5, 2017 at 2:16 PM, Gilles Caulier <[hidden email]> wrote:
Hi,

This is a very interresting subject, but without a simple response to your question.

You cannot easily connect digiKam Database to this kind of remote web service. Only C++ code do it.

I recommend to post a wish to KDE bugzilla digiKam section about this topic. We can at least assign this idea to a future student for analysis.

Best

Gilles Caulier
 

2017-09-05 20:59 GMT+02:00 Jens Benecke <[hidden email]>:
Hello,

how do I integrate an external service into Digikam?
I want to use Clarifai to do some automatic tagging (www.clarifai.com) experiments since my tagging requirements take *way* too much time. (Actually, I think this would be a great feature for Digikam by default - automated AI based tagging ... ;) )

Basically I'm looking for a way to select some images and say "Send these images to Clarifai via API and save the returned image tags to the image metadata".

Is this possible at all without resorting to C++ and hacking the Digikam source itself?

I know I can create a batch operation with a custom shell script but this shell script expects a *different* image as the output - while I just want to update the metadata.

Any ideas?

Thanks!

Jens


Reply | Threaded
Open this post in threaded view
|

Re: External metadata service support in Digikam?

Jens Benecke-2
Hi,


Thanks!

-- 
Jens Benecke - [hidden email]
Keine Lust auf Müll in ihrem Postfach? www.spamfreemail.de



Am 06.09.2017 um 20:40 schrieb Andrey Goreev <[hidden email]>:

I second on this one.
Large corporations e.g. Google and Microsoft have similar services embedded in their solutions e.g. Ms OneDrive and Google Photos but none of them let you download your data because they want you to be hooked to their services. If digiKam was capable of getting keywords from a server via API and write them to database/metadata/sidecars using Exiv2 that would be a great feature.

Best regards,

On Tue, Sep 5, 2017 at 2:16 PM, Gilles Caulier <[hidden email]> wrote:
Hi,

This is a very interresting subject, but without a simple response to your question.

You cannot easily connect digiKam Database to this kind of remote web service. Only C++ code do it.

I recommend to post a wish to KDE bugzilla digiKam section about this topic. We can at least assign this idea to a future student for analysis.

Best

Gilles Caulier
 

2017-09-05 20:59 GMT+02:00 Jens Benecke <[hidden email]>:
Hello,

how do I integrate an external service into Digikam?
I want to use Clarifai to do some automatic tagging (www.clarifai.com) experiments since my tagging requirements take *way* too much time. (Actually, I think this would be a great feature for Digikam by default - automated AI based tagging ... ;) )

Basically I'm looking for a way to select some images and say "Send these images to Clarifai via API and save the returned image tags to the image metadata".

Is this possible at all without resorting to C++ and hacking the Digikam source itself?

I know I can create a batch operation with a custom shell script but this shell script expects a *different* image as the output - while I just want to update the metadata.

Any ideas?

Thanks!

Jens