Skip to content

Errors with function signatures #9

@lekevicius

Description

@lekevicius

Notice this in ArucoDetector:

    /**
     * Basic ArucoDetector constructor
     *
     * @param dictionary indicates the type of markers that will be searched
     * @param detectorParams marker detection parameters
     */
    public init(dictionary detectorParams: DetectorParameters)

OpenCV has signature for 2 params (dictionary and detectorParams, but there are many variants), but this library drops the essential dictionary one.

Here it is in the simplest variant:

    /**
     * Basic ArucoDetector constructor
     *
     * @param dictionary indicates the type of markers that will be searched
     */
    public init(dictionary: ())

I don't think this library is usable for this reason, as any attempts to pass essential dictionary value is seen as invalid call.

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