def click_and_crop(event, x, y, flags, param):
# grab references to the global variables
global refPt, cropping
# if the left mouse button was clicked, record the starting
# (x, y) coordinates and indicate that cropping is being
# performed
if event == cv2.EVENT_LBUTTONDOWN:
refPt.append((x, y))
get_OD_coodinates.py 文件源码
python
阅读 23
收藏 0
点赞 0
评论 0
评论列表
文章目录