[build-system] requires = ["setuptools>=68"] build-backend = "setuptools.build_meta" [project] name = "cf-vision" version = "0.1.0" description = "CircuitForge vision pipeline — ImageFrame API, OCR, barcode, receipt extraction" readme = "README.md" requires-python = ">=3.11" license = {text = "MIT"} dependencies = [ "pydantic>=2.0", ] [project.optional-dependencies] # Real inference backends — not required for stub/mock mode inference = [ "torch>=2.0", "torchvision>=0.15", "numpy>=1.24", "Pillow>=10.0", "transformers>=4.40", "python-dotenv>=1.0", ] # Barcode / QR scanning barcode = [ "pyzbar>=0.1.9", "Pillow>=10.0", ] # Camera capture camera = [ "opencv-python>=4.8", ] dev = [ "pytest>=8.0", "pytest-asyncio>=0.23", "Pillow>=10.0", "numpy>=1.24", ] [tool.setuptools.packages.find] where = ["."] include = ["cf_vision*"] [tool.pytest.ini_options] testpaths = ["tests"] asyncio_mode = "auto"