import numpy as np
import cv2 as cv
img1 = cv.imread('ml.jpg')
img2 = cv.imread('opencv-logo2.png')
assert img1 is not None, "文件无法读取,使用os.path.exists()检查"
assert img2 is not None, "文件无法读取,使用os.path.exists()检查"
dst = cv.addWeighted(img1, 0.7, img2, 0.3, 0)
cv.imshow('dst', dst)
cv.waitKey(0)
cv.destroyAllWindows()
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
image_blending.zip (3个子文件)
image_blending
ml.jpg 10KB
opencv-logo2.png 16KB
image_blending.py 377B
共 3 条
- 1
资源评论
ssst、
- 粉丝: 374
- 资源: 42
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功