Cropping Window¶
draw_rectangle ¶
draw_rectangle(event, x, y, flags, param)
Helper function to render a cropping window to the user in case of manual cropping, using cv2.
Source code in musicalgestures/_cropping_window.py
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | |