GithubHelp home page GithubHelp logo

Issue iporting XML about bpy HOT 4 CLOSED

uhlik avatar uhlik commented on July 22, 2024
Issue iporting XML

from bpy.

Comments (4)

jackwolfwolf avatar jackwolfwolf commented on July 22, 2024

I managed to get on XML working by calibrating the cameras. But this dosnt allway seem to work.

from bpy.

uhlik avatar uhlik commented on July 22, 2024

hi, i know there are some issues with video frames, like uncalibrated sensors in xml not later used on images, etc, which breaks import, is that your case? from what you pasted i can't make anything. could you send me some example xml?
the box is created on chunk borders.

from bpy.

jackwolfwolf avatar jackwolfwolf commented on July 22, 2024

Hey, thanks for the fast response!
Thats exactly my situation. The images are video frames. I managed to get a XML with camera info early on (from same image set) I then coppied the first section of my XML into the later one wich didnt include camera calibration info. Then I could load the XML.

The Edite XML
test_001.txt

A unedited XML
AGI_UNEDITED.txt

from bpy.

uhlik avatar uhlik commented on July 22, 2024

reinstall from repo, now it should be able to import unedited xml (at least the one you provided works), problem was, in calibration data some params (cx, cy) was missing and sensor was skipped and camera without sensor is not created afterwards, so now if no center x, y is found it assumes both 0.0 and continues.
on a side note, there is real specs for xml i know of, so i am fixing it on the go as people notifies me on errors, i used only photo cameras, like canon 5d ii or nikon d800 and those have calibration always with all params. and sensor center is not even used later in blender anyway, could be simulated with camera shift, but effect is minuscule, so it is skipped as well..

from bpy.

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.