Spaces:
Sleeping
Sleeping
| """ | |
| CaptionCV package setup. | |
| """ | |
| from setuptools import setup, find_packages | |
| setup( | |
| name="captioncv", | |
| version="1.0.0", | |
| description="OpenCV 5 AI Vision Pipeline — detection, tracking, VLM captioning", | |
| packages=find_packages(include=["src*", "web*"]), | |
| python_requires=">=3.10", | |
| install_requires=[ | |
| "opencv-python>=5.0.0", | |
| "numpy>=1.26.0", | |
| "fastapi>=0.115.0", | |
| "uvicorn[standard]>=0.30.0", | |
| "websockets>=12.0", | |
| "python-multipart>=0.0.9", | |
| "pydantic>=2.7.0", | |
| "pydantic-settings>=2.3.0", | |
| "PyYAML>=6.0.1", | |
| "scipy>=1.13.0", | |
| "Pillow>=10.3.0", | |
| "requests>=2.31.0", | |
| "tqdm>=4.66.0", | |
| "huggingface-hub>=0.23.0", | |
| "colorlog>=6.8.0", | |
| ], | |
| extras_require={ | |
| "vlm": ["moondream>=0.0.5", "transformers>=4.40.0"], | |
| "dev": ["pytest", "pytest-asyncio", "httpx"], | |
| }, | |
| entry_points={ | |
| "console_scripts": [ | |
| "captioncv=main:main", | |
| ] | |
| }, | |
| ) | |