-
Notifications
You must be signed in to change notification settings - Fork 481
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't estimate focal length in pixels for the photo #71
Comments
Entry for the camera 'Canon', 'Canon EOS 5D Mark II' does not exist in the camera database |
There is a script which tries to extract camera focal lenght from exif data of the images: https://github.com/snavely/bundler_sfm/blob/master/bin/extract_focal.pl You can adjust it to use the specs of your camera. |
thanks sir for replying.....
sir , i am using bundler software in window .how can i add my
camera database so that are able to estimate the focal length of my camera.
i read somethinG *FAQ ................*
A. There are many reasons why Bundler might produce erroneous results.
However, there are a few common failure modes. The first is that there is
not enough overlap between the images. A good rule of thumb is that each
point in the scene needs to be visible in at least three images, and that
when walking around an object, you should take photos at least every 15
degrees (i.e., 24 photos when capturing a full 360 view of an object). A
second common failure mode is that Bundler can't get a good focal length
estimate (though it will still try hard to produce a usually wrong result).
Your camera may need to be added to the CCD width database in bin/
extract_focal.pl. To tell if this is a problem, look at the generated
list.txt file for your dataset. Each line should have three entries: the
image name, a zero, and a focal length. If this isn't the case, either (a)
your camera model needs to be registered (possible with most still cameras)
or (b) you are using a video camera and therfore Bundler can't
automatically detect focal lengths from the Exif tags in your images. Here
are some instructions for handling these cases:
- *Case (a): I am using a still digital camera*: First, you will need to
find the sensor width (in millimeters (mm)) of your camera. Sensor widths
for most cameras can be found on dpreview; see this page
<http://www.cs.cornell.edu/~snavely/bundler/focal.html> for more
information. Once you have found the sensor width in mm, you must add a
line to the sensor width database in bin/extract_focal.pl. First, use
the provided jhead tool to find the camera make and model as listed in
the Exif tags. You will then add a line to bin/extract_focal.pl of the
form:
"[Camera make] [Camera model]" => [Sensor width]
See the existing entries for examples.
with regards
RAKESH KUMAR RAY
ELECTRONICS AND COMMUNICATION ENGINEERING
TEZPUR UNIVERSITY ASSAM
…On Tue, Feb 26, 2019 at 4:02 PM Carsten Brandt ***@***.***> wrote:
There is a script which tries to extract camera focal lenght from exif
data of the images:
https://github.com/snavely/bundler_sfm/blob/master/bin/extract_focal.pl
You can adjust it to use the specs of your camera.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#71 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AoHORbpT7toJQoHDIHw8fCG3N9Fw5kgFks5vRQ1BgaJpZM4bR0lr>
.
|
Hi, The Canon EOS 5D Mark II should be in the focal length database... can you send an example JPG file where the script is failing so that I can test it? Best, |
how can i resolve it
The text was updated successfully, but these errors were encountered: