# Digital Image Processing
基于Python语言的数字图像处理程序,包含登录界面和工具栏。主要功能包括:灰度变换(n值化、线性化、非线性化);绘制RGB直方图;两幅任意大小、通道图像相加;均值滤波和中值滤波;Sobel算子锐化;集成人脸识别API如face_recognition库、虹软SDK、face++、paddlehub库
A Windows application based on tkinter of Python for image processing purposes, which is part of my final project of course *Digital Image Processing and Experiment* in CAU(China Agricultural University).
## Details
The main functions include:
- Grayscale transformation (N value, linearization, nonlinearization)
- Plot RGB histogram
- Add two images on pixel-level (images could be arbitrary size and channel)
- Mean filtering and Median filtering
- Sobel operator sharpness
- Face detection based on multiple API:
- face_recognition packages of Python
- arcsoft SDK
- face++ API
- Paddlehub
## Requirements
```
$ pip install -r requirements.txt
```
## Run
```
$ python login.py
```
## Results Show(incomplete)
|(●'◡'●)|Operation|Result|
|---|---|----
|<p align="center">1</p>|<p align="center">Login Interface(password is 123)</p>|<img src="https://github.com/leaving-voider/Digital-Image-Processing/blob/master/screenshots/Login.png" width = "300" height = "200" alt="" align=center />
|<p align="center">2</p>|<p align="center">Register Interface</p>|<img src="https://github.com/leaving-voider/Digital-Image-Processing/blob/master/screenshots/register.png" width = "300" height = "200" alt="" align=center />
|<p align="center">3</p>|<p align="center">N Value</p>|<img src="https://github.com/leaving-voider/Digital-Image-Processing/blob/master/screenshots/n_value.png" width = "300" height = "200" alt="" align=center />
|<p align="center">4</p>|<p align="center">Images Add</p>|<img src="https://github.com/leaving-voider/Digital-Image-Processing/blob/master/screenshots/img_add.png" width = "300" height = "200" alt="" align=center />
|<p align="center">5</p>|<p align="center">RGB_histogram</p>|<img src="https://github.com/leaving-voider/Digital-Image-Processing/blob/master/screenshots/RGB_histogram.png" width = "300" height = "200" alt="" align=center />
|<p align="center">6</p>|<p align="center">Median Filtering</p>|<img src="https://github.com/leaving-voider/Digital-Image-Processing/blob/master/screenshots/median_filtering.png" width = "300" height = "200" alt="" align=center />
|<p align="center">7</p>|<p align="center">Logarithmic Grayscale Transformation</p>|<img src="https://github.com/leaving-voider/Digital-Image-Processing/blob/master/screenshots/Logarithmic_gray_scale_transformation.png" width = "300" height = "200" alt="" align=center />
|<p align="center">8</p>|<p align="center">Sobel</p>|<img src="https://github.com/leaving-voider/Digital-Image-Processing/blob/master/screenshots/Sobel.png" width = "300" height = "200" alt="" align=center />
|<p align="center">9</p>|<p align="center">Face Detection</p>|<img src="https://github.com/leaving-voider/Digital-Image-Processing/blob/master/imgs_detection/example1.png" width = "300" height = "200" alt="" align=center />
## Notes
The arcsoft face detection API need you to appy and then you can use. [Here](https://blog.csdn.net/weixin_42815846/article/details/106882614) is a tutorial to teach you how to do that.
When you get your `APPID` and `FD_SDKKEY` successfully, you can replace the two lines below with them within the [hrFace.py](https://github.com/leaving-voider/Digital-Image-Processing/blob/master/face_detection/hrFace.py) file.
![img](https://github.com/leaving-voider/Digital-Image-Processing/blob/master/screenshots/modifications.png)
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
基于Python语言的数字图像处理程序,包含工具栏。主要功能包括:灰度变换(n值化、线性化、非线性化);绘制RGB直方图;两幅任意大小、通道图像相加;均值滤波和中值滤波;Sobel算子锐化;集成人脸识别API如face_recognition库、虹软SDK、face++、paddlehub库。 解压后就可用,内含说明文档。
资源推荐
资源详情
资源评论
收起资源包目录
【python数字图像处理优秀课设级项目】数字图像处理程序GUI界面功能丰富.zip (39个子文件)
screenshots
Logarithmic_gray_scale_transformation.png 608KB
Login.png 54KB
RGB_histogram.png 459KB
median_filtering.png 641KB
register.png 23KB
n_value.png 904KB
img_add.png 614KB
modifications.png 56KB
Sobel.png 1022KB
face_detection
__init__.py 116B
facepp_detection.py 1KB
arcsoft
__init__.py 756B
utils
__init__.py 152B
ImageLoader.py 3KB
AFD_FSDKLibrary.py 2KB
ASVL_COLOR_FORMAT.py 146B
AFR_FSDKLibrary.py 3KB
CLibrary.py 445B
paddleHub.py 860B
hrFace.py 5KB
libarcsoft_fsdk_face_detection.dll 2.19MB
imgs_detection
lena.jpg 10KB
emotion.jpg 143KB
example1.png 347KB
processing
__init__.py 36B
ImgProcessing.py 43KB
Interface.py 5KB
LICENSE 1KB
usrs_info.pickle 156B
requirements.txt 306B
images
__init__.py 29B
house.jpg 674B
camera.jpg 670B
meCROP.png 6KB
memory_pic.py 14KB
bell.jpg 654B
cabinet.jpg 656B
login.py 9KB
README.md 4KB
共 39 条
- 1
资源评论
瞲_大河弯弯
- 粉丝: 1314
- 资源: 135
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功