https://github.com/l1b0k/mcp_camstream_analizer
mcp server
https://github.com/l1b0k/mcp_camstream_analizer
Last synced: 2 months ago
JSON representation
mcp server
- Host: GitHub
- URL: https://github.com/l1b0k/mcp_camstream_analizer
- Owner: l1b0k
- License: apache-2.0
- Created: 2025-05-01T16:08:28.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-05-01T16:40:15.000Z (7 months ago)
- Last Synced: 2025-09-07T22:33:24.176Z (3 months ago)
- Language: Python
- Size: 31.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-mcp-servers - **mcp_camstream_analizer** - mcp server (Python-based) `python` `mcp` `server` `pip install git+https://github.com/l1b0k/mcp_camstream_analizer` (🤖 AI/ML)
README
# MCP CamStream Analyzer
MCP CamStream Analyzer is a tool for collecting and analyzing content from cameras and RTSP video streams. It supports integration with any OpenAI-compatible API for detailed content analysis.
## Features
- **Image Analysis**: Generate descriptions based on templates by providing image files.
- **Video Analysis**: Supports frame-by-frame analysis or entire video analysis.
- **Multi-Camera Support**: Supports system default cameras, external USB cameras, and RTSP stream cameras.
## Quick Start
1. Clone the project:
```bash
git clone
cd mcp_camstream_analizer
```
2. Install dependencies:
```bash
pip install -r requirements.txt
```
3. Configuration:
The default configuration file is `config.yaml`, which will be automatically generated on the first run. Modify the configuration as needed, especially the `api_key`.
4. Run the service:
```bash
python main.py
```
## Configuration
Example configuration file:
```yaml
model: gpt-4-vision-preview
base_url: null
cameras:
default: 0
webcam1: 1
ip_camera1:
rtsp_url: rtsp://admin:password@192.168.1.100:554/stream1
buffer_size: 5
output_dir: output
prompt_templates:
default: Describe what you see in this image.
detailed: Provide a detailed analysis of the scene, people, and events happening in this image.
security: This is a security monitoring image. Are there any abnormalities or situations that need attention? Describe in detail what you see.
video_analysis:
mode: frames
frame_interval: 30
api_key: ""
```
## Contribution
Feel free to submit issues and contribute code!