Add AprilTag calibration, assets, and tracking demo
This commit is contained in:
191
calibration_output/accepted_images.json
Normal file
191
calibration_output/accepted_images.json
Normal file
@@ -0,0 +1,191 @@
|
||||
[
|
||||
{
|
||||
"file": "IMG_20260606_093157.jpg",
|
||||
"markers": 17,
|
||||
"charuco_corners": 24,
|
||||
"width": 3000,
|
||||
"height": 4000
|
||||
},
|
||||
{
|
||||
"file": "IMG_20260606_093204.jpg",
|
||||
"markers": 17,
|
||||
"charuco_corners": 24,
|
||||
"width": 3000,
|
||||
"height": 4000
|
||||
},
|
||||
{
|
||||
"file": "IMG_20260606_093212.jpg",
|
||||
"markers": 17,
|
||||
"charuco_corners": 24,
|
||||
"width": 3000,
|
||||
"height": 4000
|
||||
},
|
||||
{
|
||||
"file": "IMG_20260606_093219.jpg",
|
||||
"markers": 17,
|
||||
"charuco_corners": 24,
|
||||
"width": 3000,
|
||||
"height": 4000
|
||||
},
|
||||
{
|
||||
"file": "IMG_20260606_093237.jpg",
|
||||
"markers": 17,
|
||||
"charuco_corners": 24,
|
||||
"width": 3000,
|
||||
"height": 4000
|
||||
},
|
||||
{
|
||||
"file": "IMG_20260606_093257.jpg",
|
||||
"markers": 17,
|
||||
"charuco_corners": 24,
|
||||
"width": 3000,
|
||||
"height": 4000
|
||||
},
|
||||
{
|
||||
"file": "IMG_20260606_093305.jpg",
|
||||
"markers": 17,
|
||||
"charuco_corners": 24,
|
||||
"width": 3000,
|
||||
"height": 4000
|
||||
},
|
||||
{
|
||||
"file": "IMG_20260606_093421.jpg",
|
||||
"markers": 17,
|
||||
"charuco_corners": 24,
|
||||
"width": 3000,
|
||||
"height": 4000
|
||||
},
|
||||
{
|
||||
"file": "IMG_20260606_093611.jpg",
|
||||
"markers": 17,
|
||||
"charuco_corners": 24,
|
||||
"width": 3000,
|
||||
"height": 4000
|
||||
},
|
||||
{
|
||||
"file": "IMG_20260606_093615.jpg",
|
||||
"markers": 13,
|
||||
"charuco_corners": 15,
|
||||
"width": 3000,
|
||||
"height": 4000
|
||||
},
|
||||
{
|
||||
"file": "IMG_20260606_093627.jpg",
|
||||
"markers": 16,
|
||||
"charuco_corners": 22,
|
||||
"width": 3000,
|
||||
"height": 4000
|
||||
},
|
||||
{
|
||||
"file": "IMG_20260606_093646.jpg",
|
||||
"markers": 17,
|
||||
"charuco_corners": 24,
|
||||
"width": 3000,
|
||||
"height": 4000
|
||||
},
|
||||
{
|
||||
"file": "IMG_20260606_093656.jpg",
|
||||
"markers": 13,
|
||||
"charuco_corners": 13,
|
||||
"width": 3000,
|
||||
"height": 4000
|
||||
},
|
||||
{
|
||||
"file": "IMG_20260606_093714.jpg",
|
||||
"markers": 15,
|
||||
"charuco_corners": 18,
|
||||
"width": 3000,
|
||||
"height": 4000
|
||||
},
|
||||
{
|
||||
"file": "IMG_20260606_093751.jpg",
|
||||
"markers": 16,
|
||||
"charuco_corners": 20,
|
||||
"width": 3000,
|
||||
"height": 4000
|
||||
},
|
||||
{
|
||||
"file": "IMG_20260606_093815.jpg",
|
||||
"markers": 17,
|
||||
"charuco_corners": 24,
|
||||
"width": 3000,
|
||||
"height": 4000
|
||||
},
|
||||
{
|
||||
"file": "IMG_20260606_093935.jpg",
|
||||
"markers": 16,
|
||||
"charuco_corners": 20,
|
||||
"width": 4000,
|
||||
"height": 3000
|
||||
},
|
||||
{
|
||||
"file": "IMG_20260606_093944.jpg",
|
||||
"markers": 17,
|
||||
"charuco_corners": 24,
|
||||
"width": 4000,
|
||||
"height": 3000
|
||||
},
|
||||
{
|
||||
"file": "IMG_20260606_093948.jpg",
|
||||
"markers": 17,
|
||||
"charuco_corners": 24,
|
||||
"width": 3000,
|
||||
"height": 4000
|
||||
},
|
||||
{
|
||||
"file": "IMG_20260606_094016.jpg",
|
||||
"markers": 17,
|
||||
"charuco_corners": 24,
|
||||
"width": 3000,
|
||||
"height": 4000
|
||||
},
|
||||
{
|
||||
"file": "IMG_20260606_094028.jpg",
|
||||
"markers": 17,
|
||||
"charuco_corners": 24,
|
||||
"width": 3000,
|
||||
"height": 4000
|
||||
},
|
||||
{
|
||||
"file": "IMG_20260606_094032.jpg",
|
||||
"markers": 17,
|
||||
"charuco_corners": 24,
|
||||
"width": 3000,
|
||||
"height": 4000
|
||||
},
|
||||
{
|
||||
"file": "IMG_20260606_094037.jpg",
|
||||
"markers": 17,
|
||||
"charuco_corners": 24,
|
||||
"width": 3000,
|
||||
"height": 4000
|
||||
},
|
||||
{
|
||||
"file": "IMG_20260606_094042.jpg",
|
||||
"markers": 16,
|
||||
"charuco_corners": 20,
|
||||
"width": 4000,
|
||||
"height": 3000
|
||||
},
|
||||
{
|
||||
"file": "IMG_20260606_094047.jpg",
|
||||
"markers": 16,
|
||||
"charuco_corners": 22,
|
||||
"width": 4000,
|
||||
"height": 3000
|
||||
},
|
||||
{
|
||||
"file": "IMG_20260606_094052.jpg",
|
||||
"markers": 17,
|
||||
"charuco_corners": 24,
|
||||
"width": 4000,
|
||||
"height": 3000
|
||||
},
|
||||
{
|
||||
"file": "IMG_20260606_094057.jpg",
|
||||
"markers": 17,
|
||||
"charuco_corners": 24,
|
||||
"width": 4000,
|
||||
"height": 3000
|
||||
}
|
||||
]
|
||||
43
calibration_output/calibration_report.json
Normal file
43
calibration_output/calibration_report.json
Normal file
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"assets_dir": "C:\\devel\\slam_demo\\assets",
|
||||
"dictionary": "DICT_4X4_50",
|
||||
"squares_x": 7,
|
||||
"squares_y": 5,
|
||||
"square_length_mm": 25.0,
|
||||
"marker_length_mm": 18.75,
|
||||
"min_markers": 8,
|
||||
"min_charuco_corners": 12,
|
||||
"total_images": 43,
|
||||
"accepted_images": 27,
|
||||
"rejected_images": 16,
|
||||
"status": "ok",
|
||||
"image_width": 3000,
|
||||
"image_height": 4000,
|
||||
"rms_reprojection_error": 0.4331525306786906,
|
||||
"camera_matrix": [
|
||||
[
|
||||
2922.5451296678484,
|
||||
0.0,
|
||||
1513.228003099643
|
||||
],
|
||||
[
|
||||
0.0,
|
||||
2929.578022490368,
|
||||
1987.1398774988904
|
||||
],
|
||||
[
|
||||
0.0,
|
||||
0.0,
|
||||
1.0
|
||||
]
|
||||
],
|
||||
"dist_coeffs": [
|
||||
[
|
||||
0.06569042692273651,
|
||||
-0.12285829543468728,
|
||||
-0.0017248793581868354,
|
||||
-0.00019726508785207679,
|
||||
0.07981683482477274
|
||||
]
|
||||
]
|
||||
}
|
||||
BIN
calibration_output/camera_calibration.npz
Normal file
BIN
calibration_output/camera_calibration.npz
Normal file
Binary file not shown.
15
calibration_output/camera_calibration.yaml
Normal file
15
calibration_output/camera_calibration.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
%YAML:1.0
|
||||
---
|
||||
camera_matrix: !!opencv-matrix
|
||||
rows: 3
|
||||
cols: 3
|
||||
dt: d
|
||||
data: [ 2922.5451296678484, 0., 1513.228003099643, 0.,
|
||||
2929.5780224903679, 1987.1398774988904, 0., 0., 1. ]
|
||||
dist_coeffs: !!opencv-matrix
|
||||
rows: 1
|
||||
cols: 5
|
||||
dt: d
|
||||
data: [ 0.065690426922736508, -0.12285829543468728,
|
||||
-0.0017248793581868354, -0.00019726508785207679,
|
||||
0.079816834824772739 ]
|
||||
130
calibration_output/rejected_images.json
Normal file
130
calibration_output/rejected_images.json
Normal file
@@ -0,0 +1,130 @@
|
||||
[
|
||||
{
|
||||
"file": "IMG_20260606_093320.jpg",
|
||||
"markers": 0,
|
||||
"charuco_corners": 0,
|
||||
"width": 3000,
|
||||
"height": 4000,
|
||||
"reason": "markers<8,charuco<12"
|
||||
},
|
||||
{
|
||||
"file": "IMG_20260606_093434.jpg",
|
||||
"markers": 1,
|
||||
"charuco_corners": 0,
|
||||
"width": 3000,
|
||||
"height": 4000,
|
||||
"reason": "markers<8,charuco<12"
|
||||
},
|
||||
{
|
||||
"file": "IMG_20260606_093444.jpg",
|
||||
"markers": 0,
|
||||
"charuco_corners": 0,
|
||||
"width": 3000,
|
||||
"height": 4000,
|
||||
"reason": "markers<8,charuco<12"
|
||||
},
|
||||
{
|
||||
"file": "IMG_20260606_093455.jpg",
|
||||
"markers": 0,
|
||||
"charuco_corners": 0,
|
||||
"width": 3000,
|
||||
"height": 4000,
|
||||
"reason": "markers<8,charuco<12"
|
||||
},
|
||||
{
|
||||
"file": "IMG_20260606_093505.jpg",
|
||||
"markers": 0,
|
||||
"charuco_corners": 0,
|
||||
"width": 3000,
|
||||
"height": 4000,
|
||||
"reason": "markers<8,charuco<12"
|
||||
},
|
||||
{
|
||||
"file": "IMG_20260606_093515.jpg",
|
||||
"markers": 0,
|
||||
"charuco_corners": 0,
|
||||
"width": 3000,
|
||||
"height": 4000,
|
||||
"reason": "markers<8,charuco<12"
|
||||
},
|
||||
{
|
||||
"file": "IMG_20260606_093525.jpg",
|
||||
"markers": 0,
|
||||
"charuco_corners": 0,
|
||||
"width": 3000,
|
||||
"height": 4000,
|
||||
"reason": "markers<8,charuco<12"
|
||||
},
|
||||
{
|
||||
"file": "IMG_20260606_093726.jpg",
|
||||
"markers": 0,
|
||||
"charuco_corners": 0,
|
||||
"width": 3000,
|
||||
"height": 4000,
|
||||
"reason": "markers<8,charuco<12"
|
||||
},
|
||||
{
|
||||
"file": "IMG_20260606_093738.jpg",
|
||||
"markers": 0,
|
||||
"charuco_corners": 0,
|
||||
"width": 3000,
|
||||
"height": 4000,
|
||||
"reason": "markers<8,charuco<12"
|
||||
},
|
||||
{
|
||||
"file": "IMG_20260606_093758.jpg",
|
||||
"markers": 28,
|
||||
"charuco_corners": 0,
|
||||
"width": 3000,
|
||||
"height": 4000,
|
||||
"reason": "charuco<12"
|
||||
},
|
||||
{
|
||||
"file": "IMG_20260606_093804.jpg",
|
||||
"markers": 36,
|
||||
"charuco_corners": 0,
|
||||
"width": 3000,
|
||||
"height": 4000,
|
||||
"reason": "charuco<12"
|
||||
},
|
||||
{
|
||||
"file": "IMG_20260606_093825.jpg",
|
||||
"markers": 0,
|
||||
"charuco_corners": 0,
|
||||
"width": 3000,
|
||||
"height": 4000,
|
||||
"reason": "markers<8,charuco<12"
|
||||
},
|
||||
{
|
||||
"file": "IMG_20260606_093835.jpg",
|
||||
"markers": 0,
|
||||
"charuco_corners": 0,
|
||||
"width": 3000,
|
||||
"height": 4000,
|
||||
"reason": "markers<8,charuco<12"
|
||||
},
|
||||
{
|
||||
"file": "IMG_20260606_093902.jpg",
|
||||
"markers": 0,
|
||||
"charuco_corners": 0,
|
||||
"width": 3000,
|
||||
"height": 4000,
|
||||
"reason": "markers<8,charuco<12"
|
||||
},
|
||||
{
|
||||
"file": "IMG_20260606_093939.jpg",
|
||||
"markers": 5,
|
||||
"charuco_corners": 3,
|
||||
"width": 4000,
|
||||
"height": 3000,
|
||||
"reason": "markers<8,charuco<12"
|
||||
},
|
||||
{
|
||||
"file": "IMG_20260606_093959.jpg",
|
||||
"markers": 0,
|
||||
"charuco_corners": 0,
|
||||
"width": 3000,
|
||||
"height": 4000,
|
||||
"reason": "markers<8,charuco<12"
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user