def show_image_and_wait_for_key(image, name="<STR_LIT>"):
print("<STR_LIT>", name, "<STR_LIT>")<EOL>cv2.imshow('<STR_LIT>', image)<EOL>return ask_for_key()<EOL>
Shows an image, outputting name. keygroups is a dictionary of keycodes to functions;
they are executed when the corresponding keycode is pressed