aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThéo de la Hogue2022-11-30 14:50:37 +0100
committerThéo de la Hogue2022-11-30 14:50:37 +0100
commitb614be479e8e4174f9fb706fa6539ffbdad63ecc (patch)
treed029109e7cd0986de76b5e8a1ea52105402dc3f7
parentf0962a6cfe047ac449eafc128cf527c5308310bc (diff)
downloadargaze-b614be479e8e4174f9fb706fa6539ffbdad63ecc.zip
argaze-b614be479e8e4174f9fb706fa6539ffbdad63ecc.tar.gz
argaze-b614be479e8e4174f9fb706fa6539ffbdad63ecc.tar.bz2
argaze-b614be479e8e4174f9fb706fa6539ffbdad63ecc.tar.xz
Removing inconsistencies printing.
-rw-r--r--src/argaze/ArScene.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/argaze/ArScene.py b/src/argaze/ArScene.py
index 0a88b0c..29c8e95 100644
--- a/src/argaze/ArScene.py
+++ b/src/argaze/ArScene.py
@@ -112,6 +112,10 @@ class ArScene():
# When pose estimation fails, ignore AOI scene projection
if not success:
+ # DEBUG: print unconsistencies distances or angles
+ for key, value in unconsistencies.items():
+ print(f'Unconsistent {key}: {value}')
+
raise UserWarning('Pose estimation fails')
# Consider pose estimation only if theer is a given number of consistent markers at least
@@ -145,4 +149,4 @@ class ArScene():
raise UserWarning('AOI projection is empty')
- return aoi_scene_projection, unconsistencies
+ return aoi_scene_projection