ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: herb on February 24, 2022, 05:54:10 AM

Title: new MakerNote header "OM SYSTEM II"
Post by: herb on February 24, 2022, 05:54:10 AM
Hello Phil,

OM Digital Solutions has released its new (and first) "Olympus" Camera OM 1.
As a user of Olympus cameras I was interested in images made with this new camera.
So I downloaded some examples from  dpreview https://www.dpreview.com/reviews/om-system-om-1-initial-review#SG.

Exiftool reports errors for *.jpg and *.orf images:
MakerNotes tags xxx IFD format not handled with xxx = 0x2010, 0x2020, 0x2030, 0x2040 and 0x2050

In htmldump I have seen that OMDS introduced another MakerNote header: OM SYSTEM  II

Please have a look at this new "format".

Thanks in advance and
Best regards
herb
Title: Re: new MakerNote header "OM SYSTEM II"
Post by: Phil Harvey on February 25, 2022, 08:39:58 AM
Hi Herb,

Yes, thanks.  This is on my list of things to do.

- Phil
Title: Re: new MakerNote header "OM SYSTEM II"
Post by: berliner_ffm on February 27, 2022, 06:04:28 AM
Hi Phil,

one addition to this request:
It seems, like exiftool is not able to extract previews from the OM-1 files. I don't know if this is related to the request above, or a separate error, or if the files indeed do not contain a preview.
I tried with the examples from DPReview and the ones from imaging-resource.com (Link: https://www.imaging-resource.com/PRODS/om-system-om-1/Y-JG-OM-1-121466-ISO-25600.ORF.HTM).

Thanks!
Jens
Title: Re: new MakerNote header "OM SYSTEM II"
Post by: berliner_ffm on March 02, 2022, 02:39:13 AM
I dived a deeper in the files. the previews are there and i could extract them manually by looking up the Marker-Tags of the embedded jpgs.
So it might indeed be related to the error message above, that exiftool cannot extract those files at the moment.
Title: Re: new MakerNote header "OM SYSTEM II"
Post by: sarunas on March 15, 2022, 03:52:33 PM
Duplicating 'MakerNoteOlympus2' in MakerNotes.pm for 'MakerNoteOMSystem':

>         Name => 'MakerNoteOMSystem',
>         Condition => '$$valPt =~ /^OM SYSTEM\0/',
>         SubDirectory => {
>             TagTable => 'Image::ExifTool::Olympus::Main',
>             Start => '$valuePtr + 16',
>             Base => '$start - 16',
>             ByteOrder => 'Unknown',
>         },


(note 16 byte values for Start and Base) allows to view a lot/most OMDS maker notes values. Not sure if that's a good way to go...
Title: Re: new MakerNote header "OM SYSTEM II"
Post by: Tschens on April 01, 2022, 06:32:23 AM
Any news on the next update which hopefully solves this issue?
Title: Re: new MakerNote header "OM SYSTEM II"
Post by: Phil Harvey on April 01, 2022, 07:47:05 AM
No progress on this yet.  I've been very busy with other things recently.  This and a few other issues are holding up the next release.

- Phil
Title: Re: new MakerNote header "OM SYSTEM II"
Post by: herb on April 02, 2022, 03:37:37 AM
Hello Phil,

Libraw stated to support the new OM-1.
Please have a look at: https://www.libraw.org/comment/6393#comment-6393 (https://www.libraw.org/comment/6393#comment-6393)

I hope this helps a little bit.

Best regards
herb
Title: Re: new MakerNote header "OM SYSTEM II"
Post by: Phil Harvey on April 07, 2022, 09:28:06 AM
ExifTool 12.41 (to be released later today) will support this.

- Phil
Title: Re: new MakerNote header "OM SYSTEM II"
Post by: -noel- on April 07, 2022, 02:36:27 PM
Hi Phil,
Thanks a lot for the new version which supports the Olympus OM-1, I've tested the new version s little bit.

One little glitch:
In the "0x0804    StackedImage" section for the OM-1 the '11 16' = Hand-held high resolution is coded as '11 12' and not '16'. Seems there has been a change for the OM-1 ...

If you need sample images, I can send you some ...

Best regards
Eberhard
Title: Re: new MakerNote header "OM SYSTEM II"
Post by: Phil Harvey on April 07, 2022, 09:59:15 PM
That's good, I'll add this value for the next release.  Thanks!

- Phil
Title: Re: new MakerNote header "OM SYSTEM II"
Post by: -noel- on April 08, 2022, 11:17:03 AM
Same with "MakerNotes 0x0804 StackedImages {3 64}", which is still "unknown", but is a new ND64 (6EV) NeutralDensity filter image type.

Regards
Eberhard
Title: Re: new MakerNote header "OM SYSTEM II"
Post by: Phil Harvey on April 08, 2022, 09:16:48 PM
Thanks!
Title: Re: new MakerNote header "OM SYSTEM II"
Post by: abgestumpft on May 31, 2022, 01:24:26 PM
Hi,

with Exiftool 12.41, when running on an OM-1 file I with -X option I recognized that those two tags have some trailing spaces:
<Olympus:CameraID>OM SYSTEM CAMERA               </Olympus:CameraID>
<Olympus:InternalSerialNumber>123456789               </Olympus:InternalSerialNumber>

Another question regarding OM-1 tags:
In the OM System Software (OM Workspace) there is a Tag called "Tracking Subject" containing which AI Tracking mode was used (Birds, Trains, Planes,...)
Is this tag available via Exiftool? I did not find it in the documentation and Exiftool output... In case you need some sample files for each AI Mode I can provide them.

kind regards
Sebastian
Title: Re: new MakerNote header "OM SYSTEM II"
Post by: herb on June 01, 2022, 04:41:43 AM
Hello,

QuoteIn the OM System Software (OM Workspace) there is a Tag called "Tracking Subject" containing which AI Tracking mode was used (Birds, Trains, Planes,...)
This is a very good point; but as far as I know not specific for OM-1 camera.

This tag should also be displayed for OMD E-M1X, OMD E-M1 III (and maybe some others).
And I am sorry, I cannot share such images, because I do not own such a camera.

Best regards
herb
Title: Re: new MakerNote header "OM SYSTEM II"
Post by: abgestumpft on June 01, 2022, 06:32:18 AM
The Olympus EM1x also has the AI Modes. The E-M1 III does not.

I think I found the tag that stores the AI Subject Tracking mode. It is:
Olympus Camera Settings 0x0309

This is what I found out with try and error:
Each AI Mode can have two different numbers: the lower number means AI Mode was active but no such object was detected by the camera.
The higher number means: AI Mode was active and an Object was found -> White Box shown around the subject when taking the picture. Usually higher number is just +1 higher, but for some reason on Motorsports it is +2.
Looks like some encoding on bit level to me...

The values I found out are:
Olympus Camera Settings 0x0309  : 0 / AI Subject Detection OFF
Olympus Camera Settings 0x0309  : 256 / 258 Motorsports
Olympus Camera Settings 0x0309  : 512 /   513 Airplanes
Olympus Camera Settings 0x0309  : 768 / 769 Trains
Olympus Camera Settings 0x0309  : 1024 / 1025 Birds
Olympus Camera Settings 0x0309  : 1280 / 1281 Dogs & Cats

I did some test-shots for each AI Mode to verify the numbers.
For birds I scanned the tag in a folder containing 200+ Bird images I shot. Almost all of them had 1025. Some of them 1024. Only very few had a value of 0 -> I cross checked them in OM Workspace and all of them have Tracking Subject = OFF.
So I'm pretty sure the numbers above are correct.
Title: Re: new MakerNote header "OM SYSTEM II"
Post by: Phil Harvey on June 01, 2022, 08:13:02 AM
Great, thanks.  AISubjectTrackingMode will be decoded by ExifTool 12.42.

- Phil
Title: Re: new MakerNote header "OM SYSTEM II"
Post by: StarGeek on June 01, 2022, 11:00:43 AM
Quote from: abgestumpft on May 31, 2022, 01:24:26 PM
In the OM System Software (OM Workspace) there is a Tag called "Tracking Subject" containing which AI Tracking mode was used (Birds, Trains, Planes,...)
Is this tag available via Exiftool? I did not find it in the documentation and Exiftool output

Try adding the -u (unknown) option (https://exiftool.org/exiftool_pod.html#u--unknown) and see if anything looks like it might be the correct tag.

Is there a limted number of these tracking modes?  If so, the tags my just be numbers rather than text and you would have to compare pictures set with different modes and look for changes between the two.
Title: Re: new MakerNote header "OM SYSTEM II"
Post by: abgestumpft on June 04, 2022, 04:32:20 AM
Hi,

just recognized 12.42 was already released, thanks 8)

Quick test in a test folder looks good:
Here I have images first with AI Tracking off, and then cycling through all AI Modes first without an Object found and afterwards with the Object found:

There is one typo in the airplanes mode:
AI Subject Tracking Mode        : Off; Object Not Found
AI Subject Tracking Mode        : Motorsports; Object Not Found
AI Subject Tracking Mode        : Airplnes; Object Not Found
AI Subject Tracking Mode        : Trains; Object Not Found
AI Subject Tracking Mode        : Birds; Object Not Found
AI Subject Tracking Mode        : Dogs & Cats; Object Not Found
AI Subject Tracking Mode        : Motorsports; Object Found
AI Subject Tracking Mode        : Airplnes; Object Found
AI Subject Tracking Mode        : Trains; Object Found
AI Subject Tracking Mode        : Birds; Object Found
AI Subject Tracking Mode        : Dogs & Cats; Object Found

One other question:
Wouldn't it make more sense to use just "Off" instead of "Off; Object Not Found" ?

Regarding the other topic with trailing spaces in those to tags, I guess those shouldn't be there?
<Olympus:CameraID>OM SYSTEM CAMERA               </Olympus:CameraID>
<Olympus:InternalSerialNumber>123456789               </Olympus:InternalSerialNumber>
Title: Re: new MakerNote header "OM SYSTEM II"
Post by: StarGeek on June 04, 2022, 10:04:21 AM
Quote from: abgestumpft on June 04, 2022, 04:32:20 AM
There is one typo in the airplanes mode:

Found the error at Line 1922 (https://github.com/exiftool/exiftool/blob/master/lib/Image/ExifTool/Olympus.pm#L1922) in Olympus.pm

QuoteOne other question:
Wouldn't it make more sense to use just "Off" instead of "Off; Object Not Found" ?

If you look at the code in the link above, you'll see that "Off" and "Object Not Found" are two separate entries in that tag.  For whatever reason, the camera appears to track each item separately.


QuoteRegarding the other topic with trailing spaces in those to tags, I guess those shouldn't be there?
<Olympus:CameraID>OM SYSTEM CAMERA               </Olympus:CameraID>
<Olympus:InternalSerialNumber>123456789               </Olympus:InternalSerialNumber>

Those are almost certainly spaces that are actually in the file.  The reason for this is covered in the second paragraph of FAQ #13 (https://exiftool.org/faq.html#Q13).  Extra spaces like this are pretty common.
Title: Re: new MakerNote header "OM SYSTEM II"
Post by: Phil Harvey on June 07, 2022, 08:03:49 AM
Quote from: StarGeek on June 04, 2022, 10:04:21 AM
Found the error at Line 1922 (https://github.com/exiftool/exiftool/blob/master/lib/Image/ExifTool/Olympus.pm#L1922) in Olympus.pm

Thanks.  This will be fixed in the next release.

Quote
QuoteOne other question:
Wouldn't it make more sense to use just "Off" instead of "Off; Object Not Found" ?

If you look at the code in the link above, you'll see that "Off" and "Object Not Found" are two separate entries in that tag.  For whatever reason, the camera appears to track each item separately.

I decided to separate the mode from the status so that unknown statuses (like 2) would generate outputs like "Motorsports; Unknown (2)" instead of "Unknown (258)".  Unfortunately though, this does have the effect you see on the "Off" setting.

- Phil