Skip to content

opencv 4.7 API changes #3

@rurban

Description

@rurban

cv2.aruco:

  • Dictionary_get => getPredefinedDictionary
  • CharucoBoard_create => CharucoBoard((cols,rows), ... first 2 args now as single tuple.

TODO: we really should check the opencv version

interpolateCornersCharuco now always return 0, with opencv 4.6 (and also 4.7) returning enough detected corners. Investigate why, what is now broken.
I suspect opencv_contrib commit 1f713fb417f621064742da753bb21f16d8fb4800
broke it. but realisticly it's more something in git log -p 4.7.0 -- modules/aruco/src/charuco.cpp

See SpexAI#2 and SpexAI/opencv_contrib#1 Looks like opencv broke it when they moved it from contrib to core with 4.8.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions