Extracting Roll, Pitch, Yaw from Nikon Z9 images

Started by mhall, March 08, 2022, 07:16:45 PM

Previous topic - Next topic

mhall

Hello All,

I am trying to extract Roll, Pitch and Yaw from Nikon Z9 files and am having no luck so far.

I've confirmed I'm using the latest version of exiftool.

I've tried a variety of options ... -a, -all:all, -makernotes, -makernotes:rollangle but the data doesn't appear in any output. In particular, I'd like this data to be present when using -json as I import the JSON data into a database.

The fields are listed in the tags here:

https://exiftool.org/TagNames/Nikon.html

Can anyone advise how to extract the Roll, Pitch and Yaw information for Nikon Z 9 images?

I feel like I must be missing something obvious and the answer is going to slap me in the face.

Thanks for any help.

~Micheal

StarGeek

Is there any output when you run this command?
exiftool -G1 -a -s -*roll* -*yaw* -*pitch* file.jpg
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

Phil Harvey

If that doesn't work, upload a sample file and I'll take a look.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

mhall

Thank you very much for the advice - unfortunately, no output was produced.


Phil, I've uploaded an out of camera JPG here:

https://www.dropbox.com/s/ef3q4e7bvclm59h/i20220306-00002-03_0279.jpg?dl=1

I appreciate the assistance!

~Micheal

Phil Harvey

Hi Michael,

I had to add quotes to StarGeek's command because I'm on MacOS:

> exiftool -G1 -a -s "-*roll*" "-*yaw*" "-*pitch*" i20220306-00002-03_0279.jpg
[Nikon]         RollAngle                       : 91.0
[Nikon]         YawAngle                        : -1.0
[Nikon]         PitchAngle                      : -128.1


- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

mhall

Hi Phil,

Thanks very much - I was able to get output!

There was an additional factor I was not aware of - I believe a rotation step in my workflow is stripping out some of the EXIF data from the JPGs I was trying to read.

The file I sent you had not gone through that processing, but my other test files had and thus there was no information to extract.

Thanks again for the help!

Regards,
Micheal