Announcement

  •  » Extensions
  •  » Image tagging using Azure AI

#1 2021-12-30 09:28:39

preske87
Member
2021-12-30
2

Image tagging using Azure AI

Hello/Hi/Greetings,

I was facing a challenge this summer, or better said two challenges:
#1: I was looking for an easy-to-use image library
#2: I had a large amount of images for which I needed to assign tags

While number one I was able to resolve (obviously, I found and selected piwigo).

For number two I had to become creative and ultimately ended up building a solution myself. Now taking yet another de facto lockdown I took some time and published the respective code. Here it is: https://github.com/preske87/piwigo_image_tagger

Most important things first: I am not aiming to make any money with this, no worries.

What I am looking for: feedback. Tell me what you think about it? Is it superfluous or what you been searching for all the time? Do you miss additional functionality? Do you see a benefit in using it?

Looking forward for feedback and input.

Regards and have a good start into 2022.

Offline

 

#2 2022-01-08 11:47:45

Zacharieg
Member
2020-05-14
4

Re: Image tagging using Azure AI

Hello !

I'm a developer of the Piwigo Team and I would like to thank you for your interest in Piwigo.

You did a good work here, and indeed, the auto-tagging feature is not part of Piwigo's feature. The main reason is that we have to use an external API, and we cannot assure to our users that their data will not be sold by this company.

However, I am currently developing a plugin for that, the first version is available here : https://github.com/Piwigo/piwigo-tag-recognition

This extension is integrated to the admin part of Piwigo and is quite simple to install. It will allow the use of different image recognition APIs. If you want to make requests on it, or try to improve it with pull request, I'll be glad to have your experience.

Plugins are a very important part of Piwigo's ecosystem, if you don't find a feature in Piwigo, maybe a plugin will cover it. Don't hesitate to create plugins, the skeleton plugin can help you for that (https://github.com/Piwigo/Piwigo-Skeleton).

Offline

 

#3 2022-01-09 11:38:23

preske87
Member
2021-12-30
2

Re: Image tagging using Azure AI

Hello Zach,

merging this into a native plugin sounds indeed more interesting than having a middleware.

But I am not familiar enough with PHP to merge this in; from what I understand it shouldn't be too complex though..

Would it help if I describe in "plain text" what would be required?

Offline

 

#4 2022-01-09 11:57:00

Zacharieg
Member
2020-05-14
4

Re: Image tagging using Azure AI

I understand that PHP isn't the most attractive language ;)

If you want to make a feature request in this plugin, you should create an issue in the GitHub repository. (Here, you can write in "plain text" what you want and I'll work on that).

Offline

 

#5 2023-03-24 15:31:53

3JL
Member
2019-04-02
6

Re: Image tagging using Azure AI

Hi Zacharieg,
I have extended your excellent plugin to also work with CompreFace (which can be ran on a local server). Do you want to include it in the plugin? I can also write a tutorial to set the whole thing up.
Best, J

edit: I added an issue to the repository, might be a better place :)

Last edited by 3JL (2023-03-24 15:39:13)

Offline

 

#6 2023-03-24 17:13:39

BigIsland270972
Member
Norway
2022-03-15
374

Re: Image tagging using Azure AI

3JL wrote:

Hi Zacharieg,
I have extended your excellent plugin to also work with CompreFace (which can be ran on a local server). Do you want to include it in the plugin? I can also write a tutorial to set the whole thing up.
Best, J

edit: I added an issue to the repository, might be a better place :)

Hello. Im very interested to see this working..
Robert


Piwigo 14.0 | https://fotoarkiv.no | https://foto.arki.vet | http://Bergen.gallery  | http://Ålesund.gallery | http://geiranger.gallery | http://fjord.photos | http://foto.oslo.no
Apache | PHP 8.1 | MariaDB

Offline

 

#7 2023-03-25 14:25:21

3JL
Member
2019-04-02
6

Re: Image tagging using Azure AI

Hi Robert, are you familiar with plugin development?
If so, here you can find the code that I used: [Github] piwigo-tag-recognition issue #7 (you will need to make a couple more adaptations)
It would be great if you can test and provide suggestions!
Thanks! :)

Offline

 
  •  » Extensions
  •  » Image tagging using Azure AI

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact