gesture.py 文件源码

python
阅读 29 收藏 0 点赞 0 评论 0

项目:spockpy 作者: achillesrasquinha 项目源码 文件源码
def _get_contours(array):
    major = _get_opencv_version()[0]

    if major == 3:
        _, contours, _ = cv2.findContours(array, cv2.RETR_TREE, cv2.CHAIN_APPROX_NONE)
    else:
        _, contours    = cv2.findContours(array, cv2.RETR_TREE, cv2.CHAIN_APPROX_NONE)

    return contours
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号