immich icon indicating copy to clipboard operation
immich copied to clipboard

[Feature] Support Custom EXIF Tags

Open jrasm91 opened this issue 2 years ago • 10 comments

Support user-defined custom tags as searchable content in immich.

Notes:

  • Add a new admin config section to the Web UI for "Custom Tags"
  • Allow the user to input a list of tag names
  • Add a new column "extraTags" to the Exif Info table
  • Auto-extract these tags in the metadata extraction processor and store them the new column
  • Add two new custom fields in typesense asset schema:
{"name": "customSearch", "type": "object"}
{"name": "customFacet", "type": "object", "facet": true}
  • Transform "extraTags" into customSearch and customFacet based on the configuration from admin custom tags
  • Query params passthrough for custom tags to typesense to make it possible to query and filter on the custom tags
  • Support some level of tag transformation to make it possible to include tags as lists

jrasm91 avatar Mar 07 '23 16:03 jrasm91

Is anyone else actively working on this? im interested in picking it up I was planning on doing something similar to the user management page:

  • dedicated sidebar menu item
  • simple table to crud that has columns | exifTag | description | editButton
  • When creating a new tag, ill try to make something so that its easy to add a list of tags too

Screenshot from 2023-08-20 12-28-17

sellnat77 avatar Aug 20 '23 19:08 sellnat77

@sellnat77 i believe @alex-phillips has a branch on this. I don't remember the state of the branch though

alextran1502 avatar Aug 20 '23 23:08 alextran1502

Gotcha gotcha, ill let it sit for a day or two before i start working on it then :+1:

sellnat77 avatar Aug 21 '23 00:08 sellnat77

Taking a little break from this beast...server and db changes are pretty hefty but i think ive at least got some form of the web changes in a good spot. Ill try to break this into separate PRs

sellnat77 avatar Sep 13 '23 01:09 sellnat77

I really would like to see lens model in info. Is this the feature request which would provide that or should I add a sepaarate feature request?

dsm1212 avatar Jan 19 '24 14:01 dsm1212

I really would like to see lens model in info. Is this the feature request which would provide that or should I add a sepaarate feature request?

The lens model information is already shown, at least in all my cases image

apollo1220 avatar Jan 31 '24 16:01 apollo1220

Well 800mm you do probably know which lens it was :-). But if it was 50mm it could be a 50mm lens or a 24-105mm, etc. Model is in the Lens and Lens Model field and is like "Sony FE 24-105mm".

dsm1212 avatar Feb 03 '24 15:02 dsm1212

I did realize this could be searched though. I found the code for that display and it is hard-coded to that. Would probably like an environment variable configurable list of properties if we were going to change it.

dsm1212 avatar Feb 03 '24 15:02 dsm1212

Well 800mm you do probably know which lens it was :-). But if it was 50mm it could be a 50mm lens or a 24-105mm, etc. Model is in the Lens and Lens Model field and is like "Sony FE 24-105mm".

On some cameras (at least all Canons I had to this day) set the Focal Length to 50mm if there is no lens attached or the lens isn't communicating with the Camera.

miasinterestinglife avatar Apr 01 '24 13:04 miasinterestinglife

Hi, just checking if this feature is expected to be shipped anytime soon... Thanks!

mrbrahman avatar Jun 25 '24 02:06 mrbrahman