-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
33 lines (30 loc) · 1.2 KB
/
Copy pathpyproject.toml
File metadata and controls
33 lines (30 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "vus"
version = "1.1.0"
description = "vus - 可安装的实时视频理解核心库(快慢双路径画面链 + 流式 ASR + 语义代表帧)"
readme = "README.md"
requires-python = ">=3.9"
license = { text = "MIT" }
authors = [{ name = "vus contributors" }]
keywords = ["video-understanding", "realtime", "keyframe", "asr", "opencv"]
dependencies = [
"opencv-python>=4.5",
"numpy>=1.20",
]
[project.optional-dependencies]
asr = ["sherpa-onnx>=1.10"]
# W3: CLIP 语义增强默认走 ONNX 引擎(无 torch);旧 torch 路径用 --clip-torch
clip = ["onnxruntime>=1.16"]
# W3: OCR 第三通道(integrated_pipeline --ocr,默认关)
ocr = ["rapidocr-onnxruntime>=1.3"]
# v1.1 GPU 加速(三种 onnxruntime 轮同包名互斥,按显卡装其一):
# NVIDIA 显卡(Win/Linux,ASR+CLIP+OCR)
gpu-nvidia = ["onnxruntime-gpu>=1.19"]
# AMD / Intel / 任意 DX12 显卡(Windows,CLIP+OCR;零版本匹配)
directml = ["onnxruntime-directml>=1.17"]
[tool.setuptools]
# 显式列出包,避免自动发现把 scripts/、bench/ 等应用层脚本打进 wheel
packages = ["vus", "vus.live"]