Skip to content

Problems with drawChessboardCorners #86

@uwesterh

Description

@uwesterh

When calling drawChessboardCorners via cv.drawChessboardCorners{image=infileIR, patternSize=patternGeom, corners=resultsIR, patternWasFound=foundPointsIR}, I get the following error:

/home/user/torch/install/bin/luajit: /home/user/torch/install/share/lua/5.1/cv/init.lua:328: attempt to call method 'cdata' (a nil value)
stack traceback:
    /home/user/torch/install/share/lua/5.1/cv/init.lua:328: in function 'prepare_for_wrapping'
    /home/user/torch/install/share/lua/5.1/cv/init.lua:337: in function 'wrap_tensor'
    /home/user/torch/install/share/lua/5.1/cv/calib3d/init.lua:447: in function 'drawChessboardCorners'

Since other fuction like findCirclesGrid or stereoCalibrate work fine with the same parameters, I suspect a bug in the wrapper code. Can you check this, please?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions