Giter Club home page Giter Club logo

Comments (3)

kyamagu avatar kyamagu commented on July 18, 2024

It looks you are giving wrong input for the function. You cannot append
extra dimension to the objectPoints array and imagePoints array. Check the
help.

Kota

On Fri, Sep 28, 2012 at 8:33 AM, Gappa88 [email protected] wrote:

Hello,

I'm trying to use cv.calibrateCamera but I didn't make it. Matlab is
crashing and it doesn't highlight any errors in the formula of
cv.calibrateCamera.

I built objectPoints cell array like this:
object_points = cell(1, BOARD_W*BOARD_H, successful_boards);
where BOARD_W and BOARD_H are width and height of the chessboard;
"successful_boards" represents the number of good boards in which i want to
store objectpoints and corners.

I built image points cell array like this:
img_points_L = cell(1, BOARD_W_BOARD_H, successful_boards);
img_points_R = cell(1, BOARD_W_BOARD_H, successful_boards);

when I run calibrateCamera matlab crashes.

Any idea?

thanks


Reply to this email directly or view it on GitHubhttps://github.com//issues/19.

from mexopencv.

Gappa88 avatar Gappa88 commented on July 18, 2024

how the input cell arrays have to be formatted? I can't find anything about this in the help.

Can you give me an example?

thank you

from mexopencv.

amroamroamro avatar amroamroamro commented on July 18, 2024

If anyone is wondering, there's a full demo on camera calibration:
https://github.com/kyamagu/mexopencv/blob/master/samples/calibration_demo.m

from mexopencv.

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.