aboutsummaryrefslogtreecommitdiff
path: root/src/examples/export_calibration_board.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/export_calibration_board.py')
-rw-r--r--src/examples/export_calibration_board.py24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/examples/export_calibration_board.py b/src/examples/export_calibration_board.py
deleted file mode 100644
index 24d7461..0000000
--- a/src/examples/export_calibration_board.py
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/usr/bin/env python
-
-"""
-export_board.py
-
-Author:
- - Théo de la Hogue, theo.de-la-hogue@enac.fr
-
-"""
-import os
-from argaze.ArUcoMarkers import ArUcoBoard
-
-# manage export folder
-current_folder = os.path.dirname(__file__)
-export_folder = os.path.join(current_folder, '_export')
-if not os.path.exists(export_folder):
- os.makedirs(export_folder)
- print(f'\'_export\' folder created')
-
-# create aruco board
-aruco_board = ArUcoBoard.ArUcoBoard('DICT_4X4_50', 7, 5, 5, 3) # 7 columns, 5 rows, square size (cm), marker size (cm)
-
-# export aruco board
-aruco_board.export(export_folder, 50) # destination folder, dpi