Skip to content

Commit

Permalink
reference corner coordinates for detection without decimation
Browse files Browse the repository at this point in the history
  • Loading branch information
christianrauch committed Sep 3, 2024
1 parent 43cb13a commit 129b563
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 34 deletions.
21 changes: 12 additions & 9 deletions test/data/33369213973_9d9bb4cc96_c.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
0, (277.8802 327.5163), (250.1780 329.6940), (251.7135 357.2946), (279.7680 354.8845)
0, (353.0279 346.9656), (329.3977 344.6678), (330.0048 372.9047), (354.1879 375.4345)
0, (414.5614 338.8829), (403.2398 333.4245), (404.6997 361.6877), (415.0851 366.5417)
0, (448.3790 335.3048), (421.9637 338.3846), (422.9550 366.6558), (449.2383 363.5178)
0, (465.4157 341.5291), (466.7475 370.4995), (480.0401 375.3805), (479.3255 346.8523)
0, (512.2699 371.3797), (511.7118 342.6652), (485.4774 344.9952), (486.1231 374.7085)
0, (571.4235 361.6797), (543.6642 364.9229), (544.4681 395.1039), (572.3226 391.6599)
0, (640.0231 425.9307), (640.9352 458.5056), (669.8774 462.4900), (669.6273 429.5844)
0, (760.7551 428.9775), (726.5153 428.5690), (727.0422 461.5150), (761.2695 462.2295)
0, (277.9247 327.4884), (250.3570 329.7265), (251.6721 357.3356), (279.4720 354.6839)
0, (352.8467 346.8030), (328.9969 344.6012), (330.2313 372.6704), (354.3267 375.5784)
0, (414.9603 338.8232), (403.0023 333.3730), (404.3122 361.6505), (414.9944 366.4854)
0, (449.0000 335.4156), (421.7478 338.2029), (422.8918 366.6338), (449.0000 363.4273)
0, (451.8521 324.5121), (452.9211 352.3356), (462.6942 357.3213), (461.5424 329.8951)
0, (465.7551 341.7513), (466.5209 370.4993), (480.3520 375.3039), (478.8691 346.5728)
0, (512.0000 371.4803), (512.0000 342.4403), (485.9187 345.2694), (486.2385 374.6548)
0, (535.6610 364.6997), (524.0469 359.3780), (523.9808 387.9674), (537.1108 394.5279)
0, (571.5667 361.6513), (543.9484 364.7314), (544.2009 394.8912), (572.1226 391.7314)
0, (620.9534 374.3775), (621.1776 405.3268), (652.4188 403.1609), (650.3995 373.0815)
0, (639.7830 425.7310), (641.0399 458.6032), (669.9742 462.4909), (670.0141 429.6474)
0, (760.8949 429.0904), (726.9314 428.9567), (727.1409 461.2701), (761.0534 462.3109)
43 changes: 25 additions & 18 deletions test/data/34085369442_304b6bafd9_c.txt
Original file line number Diff line number Diff line change
@@ -1,18 +1,25 @@
0, (49.6552 357.7258), (63.3771 355.7744), (63.1037 337.2454), (49.7023 338.9751)
0, (55.9971 395.5411), (75.6599 395.5399), (76.0009 375.6914), (56.1971 375.6695)
0, (136.6730 406.5262), (136.3904 386.6153), (118.5666 385.0555), (118.4830 405.8007)
0, (137.1803 350.0015), (137.0391 331.3253), (119.5017 332.1772), (119.3629 350.9057)
0, (214.3428 345.1931), (230.8877 343.9739), (231.1031 325.5886), (214.2705 326.9748)
0, (215.9719 413.1197), (235.2605 413.4054), (236.1417 393.1873), (216.0083 392.9312)
0, (311.2344 343.5884), (328.5275 343.2667), (328.5633 324.8743), (310.5821 324.8871)
0, (318.5974 389.4719), (300.7015 391.3979), (300.9274 411.2381), (318.8591 409.5875)
0, (357.4018 346.3447), (373.2110 347.5034), (373.4671 329.2181), (357.1758 328.1275)
0, (400.1603 282.9774), (400.0085 299.7743), (416.9421 299.6274), (416.6747 283.0110)
0, (416.5878 352.7041), (431.3354 354.3437), (431.1941 335.7852), (416.3476 334.0768)
0, (467.2973 288.1754), (467.2424 271.4062), (457.5093 269.1866), (457.6929 286.1717)
0, (472.2987 271.9427), (472.0169 288.8806), (484.8894 287.0572), (485.0777 270.9519)
0, (543.4706 350.8587), (543.2719 333.1554), (525.7717 331.5527), (525.3212 350.7736)
0, (615.2866 276.6579), (615.1252 293.3296), (629.6708 292.3475), (631.6648 274.3273)
0, (677.7889 302.6428), (677.6320 285.3052), (666.0012 282.7271), (665.6072 300.6304)
0, (712.8496 321.3379), (695.6104 319.2373), (695.0875 337.7314), (711.6552 339.5857)
0, (733.9197 326.1527), (751.1302 325.8460), (751.3755 307.5261), (733.9084 307.7999)
0, (7.1998 367.7382), (8.2826 387.0433), (21.8467 388.8047), (22.3012 369.3906)
0, (40.0000 385.2895), (40.0000 366.5399), (26.9912 368.8071), (27.7584 388.3069)
0, (50.2235 357.2749), (62.8278 355.8416), (64.3150 337.5952), (49.2334 339.3408)
0, (56.2142 395.9775), (75.7085 395.7057), (76.4279 376.0304), (55.7100 376.1390)
0, (136.5859 405.9852), (136.6868 386.9614), (117.9318 385.6759), (119.3466 405.7574)
0, (136.8157 349.8532), (137.4467 331.6211), (119.2479 332.8495), (120.3091 350.9236)
0, (214.1390 345.1158), (231.0276 343.9631), (230.9505 326.2049), (213.9404 327.2949)
0, (216.2888 412.8570), (234.8337 413.0699), (236.6666 393.5693), (215.5450 393.1030)
0, (311.3437 343.7850), (328.7296 343.6689), (328.3899 326.1203), (310.4015 325.7319)
0, (319.0783 390.0601), (300.7925 391.4020), (300.1619 411.2209), (318.8514 409.6298)
0, (357.8598 346.5026), (372.8396 347.3288), (374.1022 329.4759), (356.7228 328.0721)
0, (400.0000 282.9315), (400.0000 300.0000), (417.1274 300.0000), (416.7581 283.1546)
0, (416.5377 352.6791), (430.8029 354.3849), (431.4457 336.2527), (415.8975 334.5414)
0, (437.0000 353.3342), (446.9166 350.9822), (446.7385 333.0705), (437.0000 335.3143)
0, (466.8379 288.1093), (467.5887 271.7813), (456.9818 269.5371), (457.0370 285.9229)
0, (472.0643 272.4668), (472.1009 288.5338), (484.8149 287.5498), (485.0922 270.7832)
0, (492.0000 247.0000), (492.0000 263.0000), (507.0938 263.0000), (507.0838 247.0000)
0, (542.8355 351.0359), (543.3651 333.1548), (525.1558 332.4807), (525.6393 350.9261)
0, (615.1451 276.3273), (614.9308 293.1076), (629.6509 292.7443), (630.5632 275.8616)
0, (630.5645 330.1998), (630.6873 348.0871), (646.7246 347.8124), (647.3389 329.9061)
0, (678.0500 302.4676), (677.9111 285.4095), (666.0000 283.6531), (666.0000 300.7083)
0, (683.0000 303.2291), (694.9082 301.7316), (695.1923 285.0323), (683.0000 286.0783)
0, (696.0000 107.8969), (696.0000 121.2508), (707.5752 120.6790), (708.6246 108.2199)
0, (712.3666 321.4679), (695.3271 319.9513), (695.3467 337.6513), (711.9149 339.4104)
0, (734.1375 326.0000), (750.7946 326.0000), (751.4586 308.0991), (733.6561 308.1078)
17 changes: 10 additions & 7 deletions test/data/34139872896_defdb2f8d9_c.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
0, (329.0142 399.5628), (285.4985 402.8493), (286.6385 446.9015), (330.8413 443.2896)
0, (422.5576 450.2083), (421.3539 405.6422), (376.8648 407.7634), (378.0238 452.7328)
0, (450.7940 281.6134), (445.1442 246.4043), (403.9372 242.6193), (409.3882 277.7529)
0, (585.3918 383.6006), (587.3239 427.6843), (608.2718 435.5553), (606.5024 391.1288)
0, (658.1703 429.9575), (657.1567 385.4371), (616.7877 389.5853), (618.0186 434.5197)
0, (695.4645 419.9278), (676.2806 411.6397), (677.7034 456.7264), (697.6416 466.1422)
0, (751.6141 416.2980), (708.4382 420.6972), (709.8007 466.8162), (753.4771 462.5127)
0, (329.0657 399.3667), (285.7438 402.8478), (286.5317 446.8641), (330.4509 443.1603)
0, (422.3676 450.0573), (421.1896 405.5042), (376.7516 407.5195), (378.1724 452.5206)
0, (449.6035 294.2907), (408.7995 289.9406), (394.2166 316.1437), (435.2841 319.5461)
0, (450.7480 281.4591), (444.8973 246.3509), (404.0564 242.6216), (409.2780 277.5639)
0, (585.6249 383.3414), (587.1271 427.5599), (608.1880 435.4088), (606.5087 391.2607)
0, (658.3193 429.8612), (656.9769 385.1598), (616.7130 389.3761), (618.0273 434.5546)
0, (695.4741 419.9608), (676.5197 411.5248), (677.6697 456.8612), (697.3136 465.9787)
0, (708.7199 356.2537), (723.1980 347.7975), (681.8147 345.8170), (666.7383 354.4589)
0, (711.3130 364.1447), (678.2820 360.0336), (652.4395 366.2831), (685.0097 370.6662)
0, (751.8777 416.2984), (708.5916 420.4094), (709.7285 466.8840), (753.3184 462.5622)
2 changes: 2 additions & 0 deletions test/test_detection.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ main(int argc, char *argv[])
free(path_det_true);

apriltag_detector_t *td = apriltag_detector_create();
td->quad_decimate = 1;
td->refine_edges = false;
apriltag_family_t *tf = tag36h11_create();
apriltag_detector_add_family(td, tf);

Expand Down

0 comments on commit 129b563

Please sign in to comment.