You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

77 lines
2.0 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# README
后端仓库https://code.educoder.net/pzgu2wxls/ImageEditor
前端仓库https://bdgit.educoder.net/p7rxkvhe3/opencv-img-editor-vue.git
演示视频https://www.bilibili.com/video/BV1mT411j7uw
### 本仓库为后端仓库前端仓库在另一个url
## 技术栈 Flask + Vue
## 难度系数1.5
## 分工:
### 王尔可:后端功能实现
### 廖晋川:后端功能实现
### 华思铭前端UI开发前后端衔接
## 项目
### 不知道能不能直接clone然后在pycharm上运行
### 如果不行就自行创建一个flaskProject然后把文件复制进去
### 最后在static文件夹下创建一个uploads文件夹就行了
### 主要内容:
#### 运行环境:
python 3.9.0
opencv 4.4.0
pytorch 1.12.0
#### 前端交互界面见前端仓库https://bdgit.educoder.net/p7rxkvhe3/opencv-img-editor-vue.git
##### 功能列表【见program.py】
'10' : hsv_h
'11' : hsv_s
'12' : hsv_s
'13' : hsv_s
'14' : hsv_s
'15' : hsv_s
'20' : 非运算
'21' : 或运算
'22' : 与运算
'23' : 加运算
'24' : 减运算
'25' : 乘运算
'26' : 除运算
'30' : 放大
'31' : 缩小
'32' : 旋转90°
'33' : 水平镜像
'34' : 垂直镜像
'40' : 添加噪声
'41' : 减噪
'50' : 白平衡
'51' : 灰度世界算法
'52' : 直方图均衡化
'53' : Retinex ssr1
'54' : Retinex ssr2
'55' : Retinex msr1
'56' : Retinex msr2
'57' : Retinex msrcr
'58' : 自动白平衡(处理用时略长)
'59' : 自动色彩均衡(处理用时略长)
'60' : 腐蚀
'61' : 膨胀
'62' : 开运算
'63' : 闭运算
'70' : **风格迁移**(处理时间较长)
'71' : **年龄转换**(处理时间较长)
'b' or 'back' : *撤销
's' or 'save' : *保存
'q' or 'quit' : *退出程序