AprilRobotics / apriltag

AprilTag is a visual fiducial system popular for robotics research.
https://april.eecs.umich.edu/software/apriltag
Other
1.47k stars 522 forks source link

(Python) 'Nthreads' is an invalid keyword argument for this function #330

Closed LosWheatleynDew closed 1 month ago

LosWheatleynDew commented 1 month ago

Describe the bug trying to set Nthreads in the constructor makes python complain about it not existing.

To Reproduce Steps to reproduce the behavior: For passing parameters in the constructor, Putting Nthreads = 1 causes python to complain that its an invalid keyword argument

Expected behavior It should set the parameters listed in https://github.com/AprilRobotics/apriltag/blob/12cf56b93d8f1f95e528246c8000c36881fb43fb/apriltag_py_type.docstring

Input Image None

Screenshots image

Operating Sytem Windows 10 Pro 2H22

Installation Method I built apriltag using the visual studio 2022 compiler. I then manually placed the wrapper and DLL files in the site-packages folder

Code version Current github head, Python 3.10.10

Additional context Add any other context about the problem here.

LosWheatleynDew commented 1 month ago

Update: The "nthreads" is supposed to be "threads" changing nthreads to threads works