aboutsummaryrefslogtreecommitdiff
path: root/src/argaze.test/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/argaze.test/utils')
-rw-r--r--src/argaze.test/utils/aoi.obj7
-rw-r--r--src/argaze.test/utils/project.json34
-rw-r--r--src/argaze.test/utils/scene.json58
3 files changed, 65 insertions, 34 deletions
diff --git a/src/argaze.test/utils/aoi.obj b/src/argaze.test/utils/aoi.obj
new file mode 100644
index 0000000..ed4554f
--- /dev/null
+++ b/src/argaze.test/utils/aoi.obj
@@ -0,0 +1,7 @@
+o Test
+v 0.000000 0.000000 0.000000
+v 1.000000 0.000000 0.000000
+v 0.000000 1.000000 0.000000
+v 1.000000 1.000000 0.000000
+s off
+f 1 2 4 3
diff --git a/src/argaze.test/utils/project.json b/src/argaze.test/utils/project.json
deleted file mode 100644
index e2812f2..0000000
--- a/src/argaze.test/utils/project.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "name": "TestProject",
- "aruco_camera": {
- "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
- ]
- }
-} \ No newline at end of file
diff --git a/src/argaze.test/utils/scene.json b/src/argaze.test/utils/scene.json
new file mode 100644
index 0000000..1f80eac
--- /dev/null
+++ b/src/argaze.test/utils/scene.json
@@ -0,0 +1,58 @@
+{
+ "name": "TestScene",
+ "aruco_dictionary": "DICT_ARUCO_ORIGINAL",
+ "aruco_marker_size": 3.0,
+ "aruco_camera": {
+ "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
+ ]
+ },
+ "aruco_tracker": {
+ "cornerRefinementMethod": 3,
+ "aprilTagQuadSigma": 2,
+ "aprilTagDeglitch": 1
+ },
+ "aruco_scene": {
+ "places": {
+ "A": {
+ "translation": [1, 0, 0],
+ "rotation": [0, 0, 0],
+ "marker": 0
+ },
+ "B": {
+ "translation": [0, 1, 0],
+ "rotation": [0, 90, 0],
+ "marker": 1
+ }
+ },
+ "angle_tolerance": 1.0,
+ "distance_tolerance": 2.0
+ },
+ "aoi_scene": "aoi.obj"
+} \ No newline at end of file