使用Python+OpenCV实现鼠标画框的代码,供大家参考,具体内容如下
# -*-coding: utf-8 -*-
@Project: IntelligentManufacture
@File : user_interaction.py
@Author : panjq
@E-mail : pan_jinquan@163.com
@Date : 2019-02-21 15:03:18
# -*- coding: utf-8 -*-
import cv2
from utils import image_processing
import numpy as np
1