project_v2.py 文件源码

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

项目:SelfDrivingCar 作者: aguijarro 项目源码 文件源码
def weighted_img(img, initial_img, ?=0.8, ?=1., ?=0.):
    """
    `img` is the output of the hough_lines(), An image with lines drawn on it.
    Should be a blank image (all black) with lines drawn on it.
    `initial_img` should be the image before any processing.
    The result image is computed as follows:
    initial_img * ? + img * ? + ?
    NOTE: initial_img and img must be the same shape!
    """
    return cv2.addWeighted(initial_img, ?, img, ?, ?)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号