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.
|
|
|
|
# 图像处理与手势识别系统
|
|
|
|
|
|
|
|
|
|
## 项目简介
|
|
|
|
|
|
|
|
|
|
本项目旨在通过计算机视觉技术实现图像的实时处理与简单手势识别,包括阴影调整、锐化、褪色、对比度增强以及手部姿势识别。系统采用Python编程语言,结合OpenCV、Tkinter和ttkbootstrap等库,提供一个直观的图形用户界面。
|
|
|
|
|
|
|
|
|
|
## 主要功能
|
|
|
|
|
|
|
|
|
|
1. **图像调整**:用户可通过滑动条实时调整图像的阴影、锐化、褪色和对比度。
|
|
|
|
|
2. **手势识别**:系统能识别基本的手势,如拳头(0)、张开的手(5)等。
|
|
|
|
|
|
|
|
|
|
## 技术栈
|
|
|
|
|
|
|
|
|
|
- Python 3.x
|
|
|
|
|
- OpenCV
|
|
|
|
|
- Tkinter
|
|
|
|
|
- ttkbootstrap (用于美化界面)
|
|
|
|
|
|
|
|
|
|
## 安装与运行
|
|
|
|
|
|
|
|
|
|
1. **环境准备**:确保已安装Python 3.x以及所需库。
|
|
|
|
|
```bash
|
|
|
|
|
pip install opencv-python-headless
|
|
|
|
|
pip install tkinter
|
|
|
|
|
pip install ttkbootstrap
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
2. **运行项目**:在项目目录下运行主文件。
|
|
|
|
|
```bash
|
|
|
|
|
python main.py
|
|
|
|
|
```
|