aboutsummaryrefslogtreecommitdiff
path: root/src/argaze.test/ArUcoMarkers/utils
diff options
context:
space:
mode:
authorThéo de la Hogue2023-09-04 22:03:46 +0200
committerThéo de la Hogue2023-09-04 22:03:46 +0200
commitf4d60a6cd1e1d8810cf4b9ad7f63a8718069f73a (patch)
treee8b40f39f80bf7dab027748da9a34b0732a52e76 /src/argaze.test/ArUcoMarkers/utils
parent9215d4724912e3eb4a5673ba87cc736abe58be40 (diff)
downloadargaze-f4d60a6cd1e1d8810cf4b9ad7f63a8718069f73a.zip
argaze-f4d60a6cd1e1d8810cf4b9ad7f63a8718069f73a.tar.gz
argaze-f4d60a6cd1e1d8810cf4b9ad7f63a8718069f73a.tar.bz2
argaze-f4d60a6cd1e1d8810cf4b9ad7f63a8718069f73a.tar.xz
First work on new AR pipeline architecture. Class renaming and replacing.
Diffstat (limited to 'src/argaze.test/ArUcoMarkers/utils')
-rw-r--r--src/argaze.test/ArUcoMarkers/utils/aruco_camera.json89
-rw-r--r--src/argaze.test/ArUcoMarkers/utils/scene.obj2
2 files changed, 90 insertions, 1 deletions
diff --git a/src/argaze.test/ArUcoMarkers/utils/aruco_camera.json b/src/argaze.test/ArUcoMarkers/utils/aruco_camera.json
new file mode 100644
index 0000000..7648916
--- /dev/null
+++ b/src/argaze.test/ArUcoMarkers/utils/aruco_camera.json
@@ -0,0 +1,89 @@
+{
+ "name": "TestArUcoCamera",
+ "aruco_detector": {
+ "dictionary": {
+ "name": "DICT_ARUCO_ORIGINAL"
+ },
+ "marker_size": 3.0,
+ "optic_parameters": {
+ "rms": 1.0,
+ "dimensions": [
+ 1920,
+ 1080
+ ],
+ "K": [
+ [
+ 1.0,
+ 0.0,
+ 1.0
+ ],
+ [
+ 0.0,
+ 1.0,
+ 1.0
+ ],
+ [
+ 0.0,
+ 0.0,
+ 1.0
+ ]
+ ],
+ "D": [
+ -1.0,
+ -0.5,
+ 0.0,
+ 0.5,
+ 1.0
+ ]
+ },
+ "parameters": {
+ "cornerRefinementMethod": 3,
+ "aprilTagQuadSigma": 2,
+ "aprilTagDeglitch": 1
+ }
+ },
+ "scenes": {
+ "TestSceneA" : {
+ "aruco_markers_group": {
+ "marker_size": 3.0,
+ "dictionary": {
+ "name": "DICT_ARUCO_ORIGINAL"
+ },
+ "places": {
+ "0": {
+ "translation": [1, 0, 0],
+ "rotation": [0, 0, 0]
+ },
+ "1": {
+ "translation": [0, 1, 0],
+ "rotation": [0, 90, 0]
+ }
+ }
+ },
+ "aoi_scene": "aoi.obj",
+ "angle_tolerance": 1.0,
+ "distance_tolerance": 2.0
+ },
+ "TestSceneB" : {
+ "aruco_markers_group": {
+ "marker_size": 3.0,
+ "dictionary": {
+ "name": "DICT_ARUCO_ORIGINAL"
+ },
+ "places": {
+ "0": {
+ "translation": [1, 0, 0],
+ "rotation": [0, 0, 0]
+ },
+ "1": {
+ "translation": [0, 1, 0],
+ "rotation": [0, 90, 0]
+ }
+ }
+ },
+ "aoi_scene": "aoi.obj",
+ "angle_tolerance": 1.0,
+ "distance_tolerance": 2.0
+ }
+ }
+} \ No newline at end of file
diff --git a/src/argaze.test/ArUcoMarkers/utils/scene.obj b/src/argaze.test/ArUcoMarkers/utils/scene.obj
index 16c22a0..c233da2 100644
--- a/src/argaze.test/ArUcoMarkers/utils/scene.obj
+++ b/src/argaze.test/ArUcoMarkers/utils/scene.obj
@@ -1,4 +1,4 @@
-# .OBJ file for ArUcoScene unitary test
+# .OBJ file for ArUcoMarkersGroup unitary test
o DICT_ARUCO_ORIGINAL#0_Marker
v -0.500000 -0.500000 0.000000
v 0.500000 -0.500000 0.000000