Giter VIP home page Giter VIP logo

ucuapps / single-view-autocalib Goto Github PK

View Code? Open in Web Editor NEW
37.0 5.0 10.0 13.81 MB

Single-View Auto-Calibration from Lens-Distorted Images of Urban Scenes. In WACV (2021)

Home Page: https://ylochman.github.io/sv-autocalib

License: BSD 3-Clause "New" or "Revised" License

MATLAB 76.10% M 0.04% CMake 0.06% C++ 21.16% Shell 0.02% C 2.58% Limbo 0.05%
camera-calibration geometry minimal-solvers

single-view-autocalib's People

Contributors

ylochman avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

single-view-autocalib's Issues

Error while running

Hello,

I am using matlab R2021b Update 3 (9.11.0.1873467) and tried to run autocalib_test.m.
I have also installed necessary add-on (Optimization Toolbox and Statistics and Machine Learning Toolbox)
I get the following error:

Error using MapNested/subsref (line 243)
Something went wrong in indexing: key ' ' is not a key

Error in LabelSampler.sample_token (line 97)
                s_ = mnrnd_without_repeat(numel(x),pmap_(x(1)),1);

Error in LabelSampler/sample (line 70)
                LabelSampler.sample_token(...

Error in HybridSampler/sample (line 86)
                    this.sampler_list{solver_idx}.sample(meas, varargin);

Error in HybridRansac/fit (line 55)
                    [solver_idx,idx,stats.trial_count] = this.sampler.sample(meas);

Error in autocalib (line 142)
            [model,res,stats] = ransac.fit(meas_norm,varinput_norm);

Error in autocalib_test (line 17)
autocalib(img_path, solvers, priors, [], [], cfg{:});

Kindly assist. Thank you.

Error while running autocalib_test.m

Hi I got this error while running autocalib_test.m

Error using  {} 
Subscripting into a table using one subscript (as in t(i)) is not supported. Specify a row subscript and a variable subscript,
as in t(rows,vars). To select variables, use t(:,i) or for one variable t.(i). To select rows, use t(i,:).

Error in KeyValDb/check (line 102)
            if v{1} == 1

Error in CidCache/put (line 142)
                    if (~this.imagedb.check(table,this.cid, [name ':' xor_key]))

Error in CidCache/put_chains (line 123)
                        this.put('dr',name(1:end-1),res{k}{k1});

Error in CidCache/get_chains (line 108)
                this.put_chains(chains,res,init_parents,is_found);

Error in DR.get (line 75)
        cid_cache.get_chains(dr_chains,'',@extract,img);

Error in get_rgns (line 12)
    dr = DR.get(img,cid_cache, ...

Error in autocalib (line 44)
            [rgns,Gapp] = get_rgns(img, arc_cfg{:},...

When I tried changing KeyValDb/check (line 102) it raised consecutive errors.
What could be the solution to this?
Thank you.

Error while running an example from Readme

Hi,
I ham running this code

init; % add project paths, add solver aliases etc.
img_path = 'data/img1.jpg'; % specify a path to an image
solvers = [Solver2PC4CA, Solver6CA]; % define the solver(s)
autocalib(img_path, solvers); % run auto-calibration

And get following error:

>>>>>> Image: img1.jpg
Error using cmp_argparse (line 71)
Unknown parameter 'low'.

Error in get_rgns (line 4)
    cfg = cmp_argparse(cfg, varargin{:});

Error in autocalib (line 44)
            [rgns,Gapp] = get_rgns(img, arc_cfg{:},...

My matlab version is 8.5.0.197613 (R2015a)

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.