color_swap.py 文件源码

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

项目:python-image-processing 作者: karaage0703 项目源码 文件源码
def color_swap(src):
    img_bgr = cv2.split(src)
    dst = cv2.merge((img_bgr[2], img_bgr[1], img_bgr[0])) # from BGR to RGB

    return dst
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号