Skip to content

中国农业大学数字图像处理实验:基于Python语言的数字图像处理程序,包含工具栏。主要功能包括:灰度变换(n值化、线性化、非线性化);绘制RGB直方图;两幅任意大小、通道图像相加;均值滤波和中值滤波;Sobel算子锐化;集成人脸识别API如face_recognition库、虹软SDK、face++、paddlehub库

License

Notifications You must be signed in to change notification settings

lujiazho/Digital-Image-Processing

Repository files navigation

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

1

Login Interface(password is 123)

2

Register Interface

3

N Value

4

Images Add

5

RGB_histogram

6

Median Filtering

7

Logarithmic Grayscale Transformation

8

Sobel

9

Face Detection

Notes

The arcsoft face detection API need you to appy and then you can use. Here 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 file. img

About

中国农业大学数字图像处理实验:基于Python语言的数字图像处理程序,包含工具栏。主要功能包括:灰度变换(n值化、线性化、非线性化);绘制RGB直方图;两幅任意大小、通道图像相加;均值滤波和中值滤波;Sobel算子锐化;集成人脸识别API如face_recognition库、虹软SDK、face++、paddlehub库

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages