Giter Club home page Giter Club logo

automatic-ar's People

Contributors

hsarham avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

automatic-ar's Issues

Exception at multicam_mapper.cpp:970 with OpenCV 3.4

Hi! Thanks for your great work!

I just cloned your repo, bult it (with some minor fixes), and run it with example data from Readme.
I used OpenCV 3.4 - commit sha eab7faf536eea224863195e15b7ae9bf491745a3

And when I run this command:

find_solution box 0.05

I get an exception at multicam_mapper.cpp:970:
image
That's because the last range is denoted as [3, 3) which means that range is empty[cv::Range]. So copyTo() function fails to copy to empty range.

Also, I built your project with OpenCV 3.2 - commit sha 70bbf17b133496bd7d54d034b0f94bd869e0e810

And yeah, there isn't any exception thrown, but copyTo() function just does nothing:
image

So else branch can be thrown away without any visible consequences:
image
Which doesn't seem right.

As I can see in the comment, this code is supposed to revert changes made previously here:
image
When i > 3 column 3 were modified, therefore we need to restore column range [3, 4).

image
After that, minimization converges much faster.
Before:
image
And after:
image

Difference between results (new on the right):
image

final.solution.txt
final.solution โ€” new.txt

I haven't yet understood what's going on here, I wanted to start just by running examples first. So I can't really tell how to fix it or whether it does need fixing. Just wanted to let you know what I've encountered.
Thanks again!

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.