GithubHelp home page GithubHelp logo

Silent Crash without EXIF Data about adop HOT 2 OPEN

MikePelton avatar MikePelton commented on August 11, 2024
Silent Crash without EXIF Data

from adop.

Comments (2)

amoazeni75 avatar amoazeni75 commented on August 11, 2024

Hi,
Thanks for your guidance. How can we ensure that our training data, especially ".png" and ".jpg," have the focal length?

from adop.

MikePelton avatar MikePelton commented on August 11, 2024

Hi and thanks for coming back - I quite forgot to say how marvellous the code is - many thanks indeed. If the pictures have been taken with a phone or consumer camera, the data's in there already, although it's worth noting that COLMAP strips it out when it makes copies of the photos, so the copied images under COLMAP's "dense" folder won't have it. Our images have already been through a number of processes that haven't propagated the EXIF data along the pipeline so for us it's missing! In general any image editor (GIMP etc) will list the EXIF data for a photo, and if the "focal length" and "35mm equivalent focal length" values aren't set, you can use freely available tools (for example exiftool) to set them. If you don't know what the focal lengths are, photogrammetry tools like COLMAP capture the data as part of the cameras' "intrinsics". Sometimes these are stored as a pixel value and EXIF needs them in mm, so you need to find out some details of the camera's sensor to know how wide a pixel is in mm and convert. I haven't dug into your code sufficiently to find the point where you could check as the images are loaded up, but I notice several files load the "TinyEXIF" header, so as you're loading images the calls are available to spot the missing EXIF field data and issue a warning. Hope this helps - thanks again for ADOP!

from adop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.