blob_detect.py 文件源码

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

项目:pc-drone 作者: perrytsao 项目源码 文件源码
def undistort_crop(orig_img):
    #cv2.remap(src, map1, map2, interpolation[, dst[, borderMode[, borderValue]]]) -> dst   
    dst = cv2.remap(orig_img, map1, map2, cv2.INTER_LINEAR)
    x,y,w,h = roi
    crop_frame = dst[y:y+h, x:x+w]    
    return crop_frame
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号