Created
August 22, 2021 02:04
-
-
Save RicoJia/b03ae7d56ba9dfe1730bf0eda803ed7d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
corner_points = [] | |
def mouse_drawing(event, x_temp, y_temp, flags, params): | |
if event == cv2.EVENT_LBUTTONDOWN: | |
global corner_points | |
corner_points.append((x_temp, y_temp)) | |
cv2.setMouseCallback("face_tracker", mouse_drawing) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment