diff options
author | Théo de la Hogue | 2022-11-30 14:50:37 +0100 |
---|---|---|
committer | Théo de la Hogue | 2022-11-30 14:50:37 +0100 |
commit | b614be479e8e4174f9fb706fa6539ffbdad63ecc (patch) | |
tree | d029109e7cd0986de76b5e8a1ea52105402dc3f7 | |
parent | f0962a6cfe047ac449eafc128cf527c5308310bc (diff) | |
download | argaze-b614be479e8e4174f9fb706fa6539ffbdad63ecc.zip argaze-b614be479e8e4174f9fb706fa6539ffbdad63ecc.tar.gz argaze-b614be479e8e4174f9fb706fa6539ffbdad63ecc.tar.bz2 argaze-b614be479e8e4174f9fb706fa6539ffbdad63ecc.tar.xz |
Removing inconsistencies printing.
-rw-r--r-- | src/argaze/ArScene.py | 6 |
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 |