Updated console message

pull/4/head
Migushthe2nd 4 years ago
parent 267ca89a9a
commit af03144b5e

@ -139,6 +139,7 @@ $ python faceit_live.py --webcam_id 0 --stream_id 1 --gpu_id 0 --system linux
## Key Shortcuts when running ## Key Shortcuts when running
``` ```
B - cycle previous image in media folder
N - cycle next image in media folder N - cycle next image in media folder
C - recenter webcam and create a new base image C - recenter webcam and create a new base image
T - option to alter between 'Relative' and 'Absolute' transformations mode T - option to alter between 'Relative' and 'Absolute' transformations mode

@ -121,7 +121,7 @@ def main():
cv2.resizeWindow('Stream', webcam_width,webcam_height) cv2.resizeWindow('Stream', webcam_width,webcam_height)
print("Press C to center Webcam, Press N for next image in media directory, T to alter between relative and absolute transformation, Q to quit") print("Press C to center Webcam, Press B/N for previous/next image in media directory, T to alter between relative and absolute transformation, Q to quit")
x1,y1,x2,y2 = [0,0,0,0] x1,y1,x2,y2 = [0,0,0,0]
relative = True relative = True
while True: while True:
@ -171,16 +171,16 @@ def main():
video_capture.release() video_capture.release()
break break
elif k==ord('c'): elif k==ord('c'):
print("Centering the image")
# center # center
print("Centering the image")
reset = True reset = True
elif k==ord('b'): elif k==ord('b'):
# rotate images # previous image
print("Loading previous image") print("Loading previous image")
source_image = readpreviousimage() source_image = readpreviousimage()
reset = True reset = True
elif k==ord('n'): elif k==ord('n'):
# rotate images # next image
print("Loading next image") print("Loading next image")
source_image = readnextimage() source_image = readnextimage()
reset = True reset = True

Loading…
Cancel
Save