2025-12-09 09:25:58 +08:00
|
|
|
|
|
2025-12-09 10:15:16 +08:00
|
|
|
|
## 测试环境
|
2025-12-09 10:22:25 +08:00
|
|
|
|
```
|
2025-12-09 10:15:16 +08:00
|
|
|
|
conda activate py3.9
|
2025-12-09 10:22:25 +08:00
|
|
|
|
|
2025-12-09 10:15:16 +08:00
|
|
|
|
pip install onnxruntime==1.14.0
|
2025-12-09 10:22:25 +08:00
|
|
|
|
|
2025-12-09 10:15:16 +08:00
|
|
|
|
pip install opencv-python==4.5.5.64
|
2025-12-09 10:22:25 +08:00
|
|
|
|
```
|
|
|
|
|
|
说明:
|
|
|
|
|
|
|
|
|
|
|
|
可以根据自己的python环境安装相近的版本。
|
|
|
|
|
|
不一定非要用一样的版本.
|
2025-12-09 10:15:16 +08:00
|
|
|
|
|
|
|
|
|
|
## 目录结构如下
|
2025-12-09 10:22:25 +08:00
|
|
|
|
```
|
2025-12-09 10:15:16 +08:00
|
|
|
|
.
|
|
|
|
|
|
├── __pycache__
|
|
|
|
|
|
│ └── util.cpython-36.pyc
|
|
|
|
|
|
├── ai_demo.py
|
|
|
|
|
|
├── all_server_open(云).py
|
|
|
|
|
|
├── db_con.py
|
|
|
|
|
|
├── doc
|
|
|
|
|
|
│ ├── 25c859cf-e15d-458d-82e9-81039c49f9ed.png
|
|
|
|
|
|
│ └── 7406b499-a8cb-4b9f-ad15-45558dd1602b.png
|
|
|
|
|
|
├── env.md
|
|
|
|
|
|
├── example_info_add.py
|
|
|
|
|
|
├── user_add.py
|
|
|
|
|
|
├── util.py
|
|
|
|
|
|
└── weights
|
|
|
|
|
|
├── detection.onnx
|
|
|
|
|
|
├── emotion.onnx
|
|
|
|
|
|
└── readme.md
|
2025-12-09 10:22:25 +08:00
|
|
|
|
```
|