Skip to content

apriltag3 vs apriltag2 -- detect quad #263

@ruichaowang

Description

@ruichaowang

Describe the bug
Apriltag 3 has a lower detect rate than Apriltag 2.
Tag family: tagCodes36h11

To Reproduce
Steps to reproduce the behavior:
parameters for apriltag3:

    td->nthreads = 8;
    td->quad_decimate = 1;
    td->quad_sigma = 0.0;

    td->qtp.max_nmaxima = 10;
    td->qtp.min_cluster_pixels = 1;

    td->qtp.max_line_fit_mse = 200.0;
    // td->qtp.critical_rad = 1 * M_PI / 180;
    td->qtp.cos_critical_rad = cos(10 * M_PI / 180);
    td->qtp.deglitch = 0;
    td->qtp.min_white_black_diff = 1;

    td->tag_families = zarray_create(sizeof(apriltag_family_t*));

    pthread_mutex_init(&td->mutex, NULL);

    td->tp = timeprofile_create();

    td->refine_edges = 1;
    td->decode_sharpening = 0.25;

    td->debug = 1;

Expected behavior
Apriltag 3 can detect more tags than Apriltag 2.

** Input Image**
raw imgae:
front_debug_preprocess

using apriltag2:
front

using apriltag3:
front_3

Screenshots
apriltag2 debug,
aptag2debug

apriltag3 debug,
aptag3debug

as you can see the apriltag2 can detect more quads.

Operating Sytem
m1 mac

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions