Allen
(Allen Massey)
April 5, 2019, 12:25am
1
So I refocused my camera was going through the lens calibration again to tweak out a tiny bit more precision on the positioning.
When I started getting this message on the Lens Calibration.
Pattern found - Score: nan
Not sure what that means. Is it OK to use, if the score is nan?
Rick
(Technical Evangelist)
April 5, 2019, 12:41am
2
Using the search for the forum, “nan” returns this:
NAN is “not a number” - usually infinity, and it’s what happens when a computer tries to do something impossible like take the square root of a negative number, divide by zero, or something like that. If you see NAN, it’s not a good capture, so you’ll need to try it again.
Allen
(Allen Massey)
April 5, 2019, 1:02am
3
Thats what I thought, it was the “Not bad! click next” that was making it confusing.
Thanks
Rick
(Technical Evangelist)
April 5, 2019, 1:08am
4
Noticed that. Thanks for spotting. You must have gotten better scores with you first few captures. This is capture number 6. Do you remember how the others scored?
Yeah, the NAN only happens with the fisheye calibration and is new. I need to add code to catch it specifically.
Allen
(Allen Massey)
April 5, 2019, 2:05pm
6
The previous scores were just slightly under 1. I had not selected “fisheye” lens.
Blake
(Blake Bartlett)
April 5, 2019, 3:24pm
7
FWIW I got the same thing today. I did select fisheye lens. I figured it was a bad capture due to the lack of an image.