Main Menu

Recent posts

#11
QuoteI only want to use the face data that is read in from the file.
When I recall correctly, this requires face recognition to be on. IMatch has to create an actual face fingerprint from the XMP region to make all the related features work.

QuoteYes I see that there is pending writebacks by looking at the collection of pending writebacks, but no pen icon is displayed.
Show us a screen shot, that would be helpful.
If the "Pending Writeback" collection shows files, they are pending. Maybe you have switched to a File Window layout that does not show icons? Try the "Default" layout.

Please use the quote function as I did here (Se the toolbar at the top of the post editor). Or at least make the text you quote from somewhere in a different color. Else your posts are very hard to read and to see what you copied from where. I might have missed some answers or questions in your reply because of that. Very hard to see on a smart phone.

I have verified that PersonInImage is only set / marked as modified when IMatch stores a different value (different person names, different order of persons in the image).

When I remove and re-add an image with XMP face regions, the PersonInImage is validated, but not set or marked as modified. IMatch detects that there is no change. IMatch with default settings, face recognition on.

This means that your particular workflow with disabled face recognition in combination with XMP region import somehow causes this. This is not a common scenario and I have never tested this.

What does the PersonInImage tag show when you look at it in the Metadata Panel (e.g. in Browser Mode) or by using this variable in VarToy:

{File.MD.XMP::iptcExt\PersonInImage\PersonInImage\0}

Empty? Person names correct? Same order as in the file (Use the ExifTool Command Processor with "List Metadata" to see the face regions in the metadata of the image)...?

Please enable face recognition when you want the XMP face region import to work. The regions only contain a rectangle and a tag, no face data. But IMatch needs face data to work with faces.

Why do you only want to import XMP face regions and disable face recognition?
What is the purpose of your workflow? What do you want to achieve?
#12
where do you see that, when there is no pen icon shown? In the collection?
- Yes I see that there is pending writebacks by looking at the collection of pending writebacks, but no pen icon is displayed.

Do you have automatic face recognition enabled?
- I do not have automatic face recognition enabled.  I only want to use the face data that is read in from the file.

Do the files have XMP face regions from a previous write-back?
  - All XMP face regions were created by iMatch from a previous write-back

I think it does not check the previous contents of the tag to find out if it is filled or has the same content IMatch tries to write. IMatch just sets it as part of the face recognition / import. It should also set other tags, like timestamps, XMP instance ids and suchlike.
- Yes it sets other tags, but those other tags don't cause it to appear in the pending writebacks collection.

Is PersonInImage the only tag that needs to be written? But to figure that out, you'll need the write-back pen tooltip, but you say it's not showing?
- Right, it is not showing.  To see what is causing it to be pending, I change some other metadata for the pen icon and tool tip to show up.  Then I see that it thinks this field has changed.

I've had a look at the code, and the PersonInImage seems to be only written when there is an actual change.
- My theory is that since I start with a fresh empty DB, and first re import the person json file, then when the PersonInImage is set there is some internal identifier that is different, even though the name is the same.

Maybe the order or persons has changed by your quite particular workflow with re-import from XMP and that's why the tag was updated and marked for write-back? Can you check that and let me know?
- There is no change to order of persons or number of persons tagged in the photo.  I literally do a writeback of all metadata, export the person json, start with clean db, import the person json. and then load in my photos
- I ensure that my settings do not do any automatic face recognition, so they should only get the face data from the imported file.
- This occurs whether there is one person, or multiple people tagged in the photo.  All my photos are regular jpgs with no sidecars files.
#13
General Discussion and Questions / Re: Locations and Keywords
Last post by Mario - July 24, 2024, 06:21:20 PM
There is no drill-down in the high-level overview in the Dashboard. This feature is designed to show the number of files per country and visualize it neatly on a map.

Use the Location category in the default IMatch Standard Categories hierarchy (in the Category View). It automatically organizes your files by country, city and location. This is the drill-down you're probably looking for.

Note that you can create your own data-driven categories based on location data or change the default category, e.g. when you want to include other levels (like State). See Data-driven Categories for a documentation of this powerful IMatch feature.
#14
General Discussion and Questions / Locations and Keywords
Last post by bobneedshelp - July 24, 2024, 04:52:08 PM
I have just set up the Geocoding (and reverse geocoding) provider (GeoNames).  I'm having a little difficulty understanding a few concepts.  I have labeled a few photos just to test with.

On the dashboard, I see "Locations" and it lets me select a specific country and see the photos from that country.  How would I drill down to say all photos in a state or city for the selected country?  I'm not sure how to filter down to a specific state either?

Do I need to set up keywords to do this sort of drill down, like:
WHERE|{File.MD.country|default:NO COUNTRY}|{File.MD.city|default:NO CITY}|{File.MD.location|default:NO LOCATION}

I am trying to understand if I can drill down etc just using locations and perhaps filtering vs creating hierarchical keywords to do that?  If I need this, what is really the value of the location data?
#15
General Discussion and Questions / Re: Applying Metadata Template...
Last post by Mario - July 24, 2024, 08:29:06 AM
There are several options to assign Metadata Templates.

1. Commands menu > Metadata Templates
(The entry in the Tools menu was moved to Commands a while ago and I have updated the help for IMatch 2024/2025 accordingly. Will do so for the old help when the next IMatch update comes out.)

2. The button in the Metadata Panel as shown in the help.

3. The Command Palette (just type in the name of your template)

To run a template on 1,600 files can be quick of fast. It depends on what your template does, if versioning is involved and other factors. Usually they are very fast and there are no other problem reports.

"This update takes forever" is relative.
Show us your template and the IMatch log file of that session so we can see what takes so long, if your database has 50K or 500K files, if your PC has four processors or 24 etc.
#16
It just occurred to me that you might be using the current version of IMatch but have not enabled the experimental features option which is why you don't see the same icons I do.

With experimental features disabled in preferences this is the button in the metadata panel that will apply one of your metadata templates.
#17
What version of IMatch are you using?  Your screen shot makes me think you might be using an older version of IMatch.

I'm using the current version 2023.12.2 and in it the command you want is under Commands in the menu.

In version 2023.12.2 you can also click the green icon at the top of the metadata panel to apply a metadata template.

Better yet, assign the metadata template you want to a favorite then all you have to do to apply it is to click the favorite button.

Applying a metadata template to over 16,000 files would take a very long time to do.  Instead I would apply it to photos in batches, maybe 200 at a time.  Afterwards I usually do a writeback before I move on to the next batch of files.
#18
General Discussion and Questions / Applying Metadata Templates
Last post by frankdarwin - July 23, 2024, 11:12:00 PM
Hello,
I have created a metadata template to assign the author and copyright information.
To execute this template I follow the instructions in the IM-Help (https://www.photools.com/help/imatch/md_templates.htm).
Among other things, it says that the assignment can be done via the menu "Tools > Metadata Templates".
When I follow the description, I realize that there is no entry "Tools > Metadata Templates" in the "Tools" menu (see attachment "Tools.jpg").

Tools.jpg

As the photos to which I want to apply the template are all in different directories, I have created a category with all the photos to be changed. There are over 16000.

When I switch to the corresponding category and then to the Metadata Panel, then select all the photos, the message "Update" appears in the Metadata Panel.

Update.jpg

This update takes forever!

What is my problem or my error?
#19
Thak you.
#20
IMatch Scripting and Apps / Re: Whats wrong with my PS1 Sc...
Last post by Mario - July 23, 2024, 09:29:38 AM
I've tried this URL in my web browser:

http://127.0.0.1:50519/v1/search/filename?auth_token=&scope=database&pattern=^a.*&sortby=filename-Asc&fields=id,name,folder

This searches the entire database for files beginning with a and returns the id, filename and folder for each matching file.
For a database with 102,000 files, this takes only 0.15s to return the result (a few hundred files).

If you want to find specific files in specific folders, either use the scope=folders parameter and specify the paths of the folders to search in the path= parameter.

Or run the search just with the file name as I did and then iterate over the result and look at the folder element to filter by folder name.