aboutsummaryrefslogtreecommitdiff
path: root/src/argaze.test/utils
diff options
context:
space:
mode:
authorThéo de la Hogue2022-11-29 19:08:14 +0100
committerThéo de la Hogue2022-11-29 19:08:14 +0100
commit0a7154cbaa43bb14aae62fc4324ad24c60949472 (patch)
treea69ead795d156fe04cd2baddf245d54660c999c6 /src/argaze.test/utils
parent0b678204dbc733d199ddde1fc5dcaeb76c5af8a3 (diff)
downloadargaze-0a7154cbaa43bb14aae62fc4324ad24c60949472.zip
argaze-0a7154cbaa43bb14aae62fc4324ad24c60949472.tar.gz
argaze-0a7154cbaa43bb14aae62fc4324ad24c60949472.tar.bz2
argaze-0a7154cbaa43bb14aae62fc4324ad24c60949472.tar.xz
Renaming ArGazeProject into ArGazeScene. Removing useless old ArUcoSet related class.
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