当前位置:网站首页>图像线性融合
图像线性融合
2022-08-04 05:29:00 【CV小Rookie】
import cv2
for i in range(1,5001):
img1 = cv2.imread('/Users/like/Desktop/mix/1/'+str(i)+'.jpg')
img2 = cv2.imread('/Users/like/Desktop/mix/2/'+str(i)+'.jpg')
#img2 = cv2.resize(img2,(512,512))#统一图片大小
dst = cv2.addWeighted(img1,0.5,img2,0.5,0)
cv2.imwrite('/Users/like/Desktop/mix/3/'+str(i)+'.jpg',dst)
# cv2.imshow('dst',dst)
# cv2.waitKey(0)
# cv2.destroyAllWindows()边栏推荐
- 动手学深度学习_多层感知机
- pgsql函数中的return类型
- thymeleaf中 th:href使用笔记
- TensorFlow2学习笔记:8、tf.keras实现线性回归,Income数据集:受教育年限与收入数据集
- MySQL leftmost prefix principle [I understand hh]
- [Deep Learning 21-Day Learning Challenge] 3. Use a self-made dataset - Convolutional Neural Network (CNN) Weather Recognition
- Introduction of linear regression 01 - API use cases
- 动手学深度学习__张量
- flink问题整理
- 【CV-Learning】图像分类
猜你喜欢

8.30难题留坑:计数器问题和素数等差数列问题

flink-sql所有语法详解

Jupyter Notebook安装库;ModuleNotFoundError: No module named ‘plotly‘解决方案。
![[Deep Learning 21 Days Learning Challenge] Memo: What does our neural network model look like? - detailed explanation of model.summary()](/img/99/819ccbfed599ffd52307235309cdc9.png)
[Deep Learning 21 Days Learning Challenge] Memo: What does our neural network model look like? - detailed explanation of model.summary()

动手学深度学习_卷积神经网络CNN

flink on yarn任务迁移

ReentrantLock(公平锁、非公平锁)可重入锁原理

线性回归简介01---API使用案例

(十)树的基础部分(二)

【深度学习21天学习挑战赛】备忘篇:我们的神经网模型到底长啥样?——model.summary()详解
随机推荐
简单明了,数据库设计三大范式
Android connects to mysql database using okhttp
多项式回归(PolynomialFeatures)
[CV-Learning] Convolutional Neural Network Preliminary Knowledge
剑指 Offer 2022/7/8
TensorFlow:tf.ConfigProto()与Session
Thoroughly understand box plot analysis
字典特征提取,文本特征提取。
Kubernetes基本入门-名称空间资源(三)
SQL练习 2022/7/1
Polynomial Regression (PolynomialFeatures)
flink自定义轮询分区产生的问题
动手学深度学习_线性回归
Kubernetes基本入门-元数据资源(四)
IvNWJVPMLt
视图、存储过程、触发器
动手学深度学习_卷积神经网络CNN
flink-sql所有表连接器
fill_between in Matplotlib; np.argsort() function
双重指针的使用