Approve the Cookies
This website uses cookies to improve your user experience. By using this site, you agree to our use of cookies and our Privacy Policy.
OK
Forums  •   • New posts  •   • RTAT  •   • 'Best of'  •   • Gallery  •   • Gear
Guest
Forums  •   • New posts  •   • RTAT  •   • 'Best of'  •   • Gallery  •   • Gear
Register to forums    Log in

 
FORUMS Forum FAQ and Information Forum Talk 
Thread started 21 Apr 2017 (Friday) 07:55
Search threadPrev/next
sponsored links (only for non-logged)

Unable to fetch lens from EXIF

 
Smitty2k1
Member
Avatar
224 posts
Gallery: 22 photos
Likes: 33
Joined Mar 2012
Location: Washington DC
     
Apr 21, 2017 07:55 |  #1

Hey everyone,

Last night I posted a few photos (For the first time in a lonnnnnnnnng time). I posted them using the 'fetch' function by copy/pasting a hyperlink to my SmugMug website. AMASS was able to successfully attach the image and fetch the EXIF info except for the lens - I had to choose that from my gear list.

I also went through and added to my gallery all of my previously posted photos here on POTN. Some of the posts were pretty old so I had to do the "edit" and "save" trick to re-fetch the EXIF. Again, no matter the source, AMASS was unable to fetch the lens used from the EXIF.

I just posted a new photo this morning from my Smugmug account using the embed image and the same problem - no EXIF lens info. I thought maybe Smugmug was stripping this from the EXIF, but when I loaded the photo on my site and checked the EXIF it definitely had the lens listed.

It is interesting that in all these cases AMASS was able to fetch the focal length the image was shot at, so it made selecting the lens a little easier!

Just wanted to let you know in case this is a bug or known issue or something.

Thanks for the lovely forums :)




  
  LOG IN TO REPLY
Inspeqtor
I was hit more than 15 times
Avatar
15,584 posts
Gallery: 151 photos
Likes: 8192
Joined Mar 2008
Location: Northern Indiana
     
Apr 24, 2017 01:49 |  #2

The same thing happens to me, AMASS finds everything except for the lens info.


Charles
Canon EOS 90D * Canon EF-S 18-135mm f/3.5-5.6 IS USM* Flickr Account (external link)
Tokina AT-X Pro DX 11-20 f/2.8 * Sigma 17-70 f2.8-4 DC Macro OS * Sigma 150-600 f5-6.3 APO DG OS HSM Contemporary
Canon 18-55 IS Kit Lens * Canon 70-300 IS USM * Canon 50mm f1.8 * Canon 580EX II

  
  LOG IN TO REPLY
Pekka
El General Moderator
Avatar
18,385 posts
Gallery: 36 photos
Best ofs: 7
Likes: 2457
Joined Mar 2001
Location: Hellsinki, Finland
     
Apr 25, 2017 16:13 |  #3

Please link to some example images so I can investigate.

I downloaded the image "IMG_6074-XL.jpg" found in https://photography-on-the.net …70&mg=339958&i=​i124368142 and it does not have lens in EXIF. There is the focal lenght value in EXIF, but AMASS won't show it unless a lens is chosen.

If the image was in Flickr gallery and the lens added there to that gallery page, the lens gets usually retrieved ok, even if it is not in image EXIF. For all other photo sites the EXIF inside the image the one AMASS looks at.


The Forum Boss, El General Moderator
AMASS 2.5 Changelog (installed here now)

  
  LOG IN TO REPLY
Levina ­ de ­ Ruijter
I'm a bloody goody two-shoes!
Avatar
22,983 posts
Gallery: 457 photos
Best ofs: 12
Likes: 15563
Joined Sep 2008
Location: Amsterdam, The Netherlands, EU
     
Apr 25, 2017 16:32 as a reply to  @ Pekka's post |  #4

Pekka, when I look at the EXIF in that image the lens is there. What I did notice though is that in the EXIF the lens doesn't have a space between EF-S and 17-55mm whereas in AMASS it has. Could it mean that AMASS doesn't recognise the lens because it is listed a tiny bit different than in the EXIF? Here's a screenshot:


HOSTED PHOTO
please log in to view hosted photos in full size.


Wild Birds of Europe: https://photography-on-the.net …showthread.php?​p=19371752
Please QUOTE the comment to which you are responding!

  
  LOG IN TO REPLY
Tom ­ Reichner
"That's what I do."
Avatar
17,636 posts
Gallery: 213 photos
Best ofs: 2
Likes: 8384
Joined Dec 2008
Location: from Pennsylvania, USA, now in Washington state, USA, road trip back and forth a lot
     
Apr 25, 2017 18:41 |  #5

Levina de Ruijter wrote in post #18338331 (external link)
What I did notice though is that in the EXIF the lens doesn't have a space between EF-S and 17-55mm whereas in AMASS it has. Could it mean that AMASS doesn't recognise the lens because it is listed a tiny bit different than in the EXIF?

What a great insight, Levina!

Writing code must be so tough - to account for every little misspelling and typo that anyone might ever make - what a daunting task!

.


"Your" and "you're" are different words with completely different meanings - please use the correct one.
"They're", "their", and "there" are different words with completely different meanings - please use the correct one.
"Fare" and "fair" are different words with completely different meanings - please use the correct one. The proper expression is "moot point", NOT "mute point".

  
  LOG IN TO REPLY
Inspeqtor
I was hit more than 15 times
Avatar
15,584 posts
Gallery: 151 photos
Likes: 8192
Joined Mar 2008
Location: Northern Indiana
     
Apr 25, 2017 23:56 |  #6

Pekka wrote in post #18338317 (external link)
Please link to some example images so I can investigate.

Posting an image here for you Pekka:


HOSTED PHOTO
please log in to view hosted photos in full size.


Charles
Canon EOS 90D * Canon EF-S 18-135mm f/3.5-5.6 IS USM* Flickr Account (external link)
Tokina AT-X Pro DX 11-20 f/2.8 * Sigma 17-70 f2.8-4 DC Macro OS * Sigma 150-600 f5-6.3 APO DG OS HSM Contemporary
Canon 18-55 IS Kit Lens * Canon 70-300 IS USM * Canon 50mm f1.8 * Canon 580EX II

  
  LOG IN TO REPLY
Inspeqtor
I was hit more than 15 times
Avatar
15,584 posts
Gallery: 151 photos
Likes: 8192
Joined Mar 2008
Location: Northern Indiana
     
Apr 26, 2017 00:05 |  #7

Here are 2 screen captures...

In the second screen, I wish I could capture the drop down window to show you that my lens is indeed in the list. As you can see it does pick the focal length of the lens at 31mm. (Sigma 17-70)

Thank you for looking into this for us!! You are the greatest!!


HOSTED PHOTO
please log in to view hosted photos in full size.



HOSTED PHOTO
please log in to view hosted photos in full size.


Charles
Canon EOS 90D * Canon EF-S 18-135mm f/3.5-5.6 IS USM* Flickr Account (external link)
Tokina AT-X Pro DX 11-20 f/2.8 * Sigma 17-70 f2.8-4 DC Macro OS * Sigma 150-600 f5-6.3 APO DG OS HSM Contemporary
Canon 18-55 IS Kit Lens * Canon 70-300 IS USM * Canon 50mm f1.8 * Canon 580EX II

  
  LOG IN TO REPLY
Pekka
El General Moderator
Avatar
18,385 posts
Gallery: 36 photos
Best ofs: 7
Likes: 2457
Joined Mar 2001
Location: Hellsinki, Finland
     
Apr 26, 2017 05:03 |  #8

Levina de Ruijter wrote in post #18338331 (external link)
Pekka, when I look at the EXIF in that image the lens is there. What I did notice though is that in the EXIF the lens doesn't have a space between EF-S and 17-55mm whereas in AMASS it has. Could it mean that AMASS doesn't recognise the lens because it is listed a tiny bit different than in the EXIF?

I just quickly checked the EXIF with windows file properties and there was no lens name. That is another bug in Windows.

As you said it is shown in EXIF and AMASS sees it internally, too.

AMASS already takes spelling errors in EXIF lens names into account, but I checked the code after your report and there was indeed a bug there which affected EF-S and EF-M lenses (if Lens ID is not available). It will be fixed in next version. Thanks! :-)


The Forum Boss, El General Moderator
AMASS 2.5 Changelog (installed here now)

  
  LOG IN TO REPLY
Pekka
El General Moderator
Avatar
18,385 posts
Gallery: 36 photos
Best ofs: 7
Likes: 2457
Joined Mar 2001
Location: Hellsinki, Finland
Post edited over 6 years ago by Pekka.
     
Apr 26, 2017 05:24 |  #9

Inspeqtor wrote in post #18338683 (external link)
Posting an image here for you Pekka:

thumbnail
Hosted photo: posted by Inspeqtor in
./showthread.php?p=183​38683&i=i63739362
forum: Forum Talk

The reason for not getting the lens from this image is that there is not enough lens related info in EXIF.

There is
Lens id: 137
Lens model: 17-70mm

As there is no clear hint of lens manufacturer, AMASS can not get the correct lens. There are two 17-70mm lenses in database, and also there are several lenses with lens id 137 (they do overlap as each manufacturer decides their own set of id numbers). Basically here one could guess that manufacturer is Sigma as both 17-70mm's found are Sigmas, but then the lens id given is wrong as the correct ones are either "137.6" or "131.3", which means the program that saved the EXIF most likely rounded the id to closest integer, which is a bug as they should be treated as strings. As you can see this gets never very simple :)

As I think it is best to get no lens at all if the guess might be wrong, so there is no lens set for that photo.

Later when I have more time (finalizing 1.7 coding needs my full attention now), I'll figure out ways to make this lens/camera guesswork better/easier. Perhaps after metadata detection has finished AMASS could give you a small dropdown menu with possible selections for that undetected lens and/or camera with all possible/guessed items that could be it. Then the detection would later bring to top of list your last choices for this set of incomplete data, thus learn from it - you could then just click "accept guesses" and go on.


The Forum Boss, El General Moderator
AMASS 2.5 Changelog (installed here now)

  
  LOG IN TO REPLY
Inspeqtor
I was hit more than 15 times
Avatar
15,584 posts
Gallery: 151 photos
Likes: 8192
Joined Mar 2008
Location: Northern Indiana
     
Apr 26, 2017 09:39 |  #10

Pekka wrote in post #18338799 (external link)
Inspeqtor wrote in post #18338683 (external link)
Posting an image here for you Pekka:

thumbnail
Hosted photo: posted by Inspeqtor in
./showthread.php?p=183​38683&i=i63739362
forum: Forum Talk

The reason for not getting the lens from this image is that there is not enough lens related info in EXIF.

There is
Lens id: 137
Lens model: 17-70mm

As there is no clear hint of lens manufacturer, AMASS can not get the correct lens. There are two 17-70mm lenses in database, and also there are several lenses with lens id 137 (they do overlap as each manufacturer decides their own set of id numbers). Basically here one could guess that manufacturer is Sigma as both 17-70mm's found are Sigmas, but then the lens id given is wrong as the correct ones are either "137.6" or "131.3", which means the program that saved the EXIF most likely rounded the id to closest integer, which is a bug as they should be treated as strings. As you can see this gets never very simple :)

As I think it is best to get no lens at all if the guess might be wrong, so there is no lens set for that photo.

Later when I have more time (finalizing 1.7 coding needs my full attention now), I'll figure out ways to make this lens/camera guesswork better/easier. Perhaps after metadata detection has finished AMASS could give you a small dropdown menu with possible selections for that undetected lens and/or camera with all possible/guessed items that could be it. Then the detection would later bring to top of list your last choices for this set of incomplete data, thus learn from it - you could then just click "accept guesses" and go on.

Pekka,

You amaze me with your knowledge of all this computer geek stuff. It is ALL way above my knowledge!

Thank you for all your hard work at keeping this great forum running so smoothly :-)


Charles
Canon EOS 90D * Canon EF-S 18-135mm f/3.5-5.6 IS USM* Flickr Account (external link)
Tokina AT-X Pro DX 11-20 f/2.8 * Sigma 17-70 f2.8-4 DC Macro OS * Sigma 150-600 f5-6.3 APO DG OS HSM Contemporary
Canon 18-55 IS Kit Lens * Canon 70-300 IS USM * Canon 50mm f1.8 * Canon 580EX II

  
  LOG IN TO REPLY
TeamSpeed
01010100 01010011
Avatar
40,862 posts
Gallery: 116 photos
Best ofs: 2
Likes: 8923
Joined May 2002
Location: Midwest
Post edited over 6 years ago by TeamSpeed. (2 edits in all)
     
Apr 26, 2017 11:56 as a reply to  @ Pekka's post |  #11

I like that suggestion, it could help streamline the exif tagging for members! :)

Side note, I know you are javascripting the forum, are you using Angular2 by any chance? I am trying to pick up Typescript and Angular right now... the syntax and terms are giving me a bit of grief for some reason. I blame it on age. Not sure if we are going to settle on Bootstrap for the styling or whatever CSS library is out there right now.


Past Equipment | My Personal Gallery (external link) My Business Gallery (external link)
"Man only has 5 senses, and sometimes not even that, so if they define the world, the universe, the dimensions of existence, and spirituality with just these limited senses, their view of what-is and what-can-be is very myopic indeed and they are doomed, now and forever."

  
  LOG IN TO REPLY
Pekka
El General Moderator
Avatar
18,385 posts
Gallery: 36 photos
Best ofs: 7
Likes: 2457
Joined Mar 2001
Location: Hellsinki, Finland
     
Apr 26, 2017 16:33 |  #12

TeamSpeed wrote in post #18339096 (external link)
I like that suggestion, it could help streamline the exif tagging for members! :)

Side note, I know you are javascripting the forum, are you using Angular2 by any chance? I am trying to pick up Typescript and Angular right now... the syntax and terms are giving me a bit of grief for some reason. I blame it on age. Not sure if we are going to settle on Bootstrap for the styling or whatever CSS library is out there right now.

No, I do not use any frameworks.

I have checked them out from time to time, but I see no benefit in them to my work, and I want to minimize any coding "automation", I want full control on every line of code, and how the code is structured internally. I do not have a team to work with, so I do not have to worry about using a common framework so that unknown/clueless people may participate in the work :)

Of course as I some day must get into making a mobile app for notifications etc, I will need to dig into some mobile frameworks, but as they evolve all the time I see no point in trying to learn the current versions "in advance".


The Forum Boss, El General Moderator
AMASS 2.5 Changelog (installed here now)

  
  LOG IN TO REPLY
Smitty2k1
THREAD ­ STARTER
Member
Avatar
224 posts
Gallery: 22 photos
Likes: 33
Joined Mar 2012
Location: Washington DC
     
Apr 30, 2017 11:27 |  #13

Thanks for looking into this :)




  
  LOG IN TO REPLY
sponsored links (only for non-logged)

2,780 views & 6 likes for this thread, 6 members have posted to it and it is followed by 4 members.
Unable to fetch lens from EXIF
FORUMS Forum FAQ and Information Forum Talk 
AAA
x 1600
y 1600

Jump to forum...   •  Rules   •  Forums   •  New posts   •  RTAT   •  'Best of'   •  Gallery   •  Gear   •  Reviews   •  Member list   •  Polls   •  Image rules   •  Search   •  Password reset   •  Home

Not a member yet?
Register to forums
Registered members may log in to forums and access all the features: full search, image upload, follow forums, own gear list and ratings, likes, more forums, private messaging, thread follow, notifications, own gallery, all settings, view hosted photos, own reviews, see more and do more... and all is free. Don't be a stranger - register now and start posting!


COOKIES DISCLAIMER: This website uses cookies to improve your user experience. By using this site, you agree to our use of cookies and to our privacy policy.
Privacy policy and cookie usage info.


POWERED BY AMASS forum software 2.58forum software
version 2.58 /
code and design
by Pekka Saarinen ©
for photography-on-the.net

Latest registered member is ealarcon
1035 guests, 140 members online
Simultaneous users record so far is 15,144, that happened on Nov 22, 2018

Photography-on-the.net Digital Photography Forums is the website for photographers and all who love great photos, camera and post processing techniques, gear talk, discussion and sharing. Professionals, hobbyists, newbies and those who don't even own a camera -- all are welcome regardless of skill, favourite brand, gear, gender or age. Registering and usage is free.