aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThéo de la Hogue2023-04-25 19:53:30 +0200
committerThéo de la Hogue2023-04-25 19:53:30 +0200
commit313b4c3a0ab4fc6023237c3f8f8989fcacb4b4cc (patch)
tree459225cef3bf67a9e1f111cc3784af8eaa74769a
parent2069ce72af90112a3a1d151df185e77898c8be53 (diff)
downloadargaze-313b4c3a0ab4fc6023237c3f8f8989fcacb4b4cc.zip
argaze-313b4c3a0ab4fc6023237c3f8f8989fcacb4b4cc.tar.gz
argaze-313b4c3a0ab4fc6023237c3f8f8989fcacb4b4cc.tar.bz2
argaze-313b4c3a0ab4fc6023237c3f8f8989fcacb4b4cc.tar.xz
Improving help.
-rw-r--r--src/argaze/utils/environment_edit.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/argaze/utils/environment_edit.py b/src/argaze/utils/environment_edit.py
index 2b3d597..72af4c6 100644
--- a/src/argaze/utils/environment_edit.py
+++ b/src/argaze/utils/environment_edit.py
@@ -387,12 +387,13 @@ def main():
if draw_help:
- cv2.rectangle(video_frame, (0, 50), (700, 260), (127, 127, 127), -1)
+ cv2.rectangle(video_frame, (0, 50), (700, 300), (127, 127, 127), -1)
cv2.putText(video_frame, f'> Left click on marker: select marker', (20, 80), cv2.FONT_HERSHEY_SIMPLEX, 1, (0, 255, 255), 1, cv2.LINE_AA)
cv2.putText(video_frame, f'> Left click on frame: unselect marker', (20, 120), cv2.FONT_HERSHEY_SIMPLEX, 1, (0, 255, 255), 1, cv2.LINE_AA)
cv2.putText(video_frame, f'> T: translate, R: rotate, Z: select axis', (20, 160), cv2.FONT_HERSHEY_SIMPLEX, 1, (0, 255, 255), 1, cv2.LINE_AA)
cv2.putText(video_frame, f'> Right click and drag: edit axis', (20, 200), cv2.FONT_HERSHEY_SIMPLEX, 1, (0, 255, 255), 1, cv2.LINE_AA)
cv2.putText(video_frame, f'> Ctrl + S: save environment', (20, 240), cv2.FONT_HERSHEY_SIMPLEX, 1, (0, 255, 255), 1, cv2.LINE_AA)
+ cv2.putText(video_frame, f'> Backspace: reload environment', (20, 280), cv2.FONT_HERSHEY_SIMPLEX, 1, (0, 255, 255), 1, cv2.LINE_AA)
# Write selected marker id
elif selected_marker_id >= 0: