CameraMan wrote in post #18521369
So, there's no way to pull the EXIF data from the file here? Even with Windows Picture Viewer and Linux viewers I can see the EXIF data on my computer (Camera Model, Manufacturer, ISO, F Stop, Shutter Speed and in some cases the lens I used). Is it ASCII text with information about the cameras themselves that you're needing? I'm a little confused as to what you need to add cameras and lenses to the Amass Database. I thought all of that information was built into the files themselves and the AMASS Software just pulled that information from the file.
Not so simple. There would be no point just adding (text) item names as new database items, the list would be endless and impossible to manage/search/sort/manipulate.
In short:
Gear database contains gear items, each item is the only ONCE, having a specific id number.
EXIF is read (by ExifTool) and then analyzed by our code, the full EXIF is passed to the code.
If database match is found (by name, EXIF lens id or EXIF camera id) they are stored as said internal id numbers for metadata for that image.
Shutter speed, ISO and aperture are easy: they either are there or are not, and they can be easily parsed to suit our storage format.
I real life the EXIF is very often incomplete, missing data, having overlapping data (like LensIDs which are manufacturer-specific and not governed by anything). Each software suite manipulates and re-saves the EXIF as they will, even if the original image has it in full. Many programs and apps strip EXIF from files altogether.
A Canon 70-200 f/2.8L IS II can be written in EXIF in dozens of ways, and if it is just written as
"70-200 2.8" without manufacturer info, there is no way telling for sure which version of the lens it is.
Using pretty complex guessing and type ranking algorithms (that are vastly improved in next version) AMASS tries to find a potential match from the database when the EXIF info does not contain enough to be sure. If it does not find a very probable match, it does not just guess something.
I have checked tons of examples of DJI images, and very seldom they contain lens or camera info, just the manufacturer: "DJI". There as now 19 DJI cameras listed in AMASS 2.0 gear database, and without camera name like "FC350Z" that gear hit can not be found with just "manufacturer: DJI".
DJI does not add camera/lens ids or names to EXIF, they add sometimes drone names there, not much use there:
https://www.sno.phy.queensu.ca …xiftool/TagNames/DJI.html
EXIF parsing is really a very complex task when there is a need to do it accurately (and there is). It is surely not just ASCII names added to database, far from it.