# webcam-streamer **Repository Path**: easycui/webcam-streamer ## Basic Information - **Project Name**: webcam-streamer - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-04-21 - **Last Updated**: 2026-04-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Webcam Streamer 基于FastAPI的摄像头视频流服务,支持UVC和MIPI摄像头。 ## 安装 1. 创建并激活虚拟环境: ```bash source .venv/bin/activate ``` 2. 安装依赖: ```bash pip install -r requirements.txt ``` ## 运行 ### 后台运行(推荐) ```bash ./run.sh ``` ### 前台运行 ```bash uvicorn app.main:app --reload --host 0.0.0.0 --port 8000 ``` ### 停止服务 ```bash ./stop.sh ``` ### 查看日志 ```bash tail -f logs/webcam-streamer.log ``` ## 访问 - 视频流: http://localhost:8000/stream - API文档: http://localhost:8000/docs - 根路径: http://localhost:8000/