diff options
-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 |