https://github.com/shadow578/pycam-streamer
bad python camera server
https://github.com/shadow578/pycam-streamer
Last synced: 3 months ago
JSON representation
bad python camera server
- Host: GitHub
- URL: https://github.com/shadow578/pycam-streamer
- Owner: shadow578
- Created: 2023-11-22T16:16:50.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-22T16:54:56.000Z (over 1 year ago)
- Last Synced: 2025-02-01T03:22:59.827Z (5 months ago)
- Language: Python
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# webcam server
a really simple webcam server that is kind of bad, but somehow still has more features than mjpeg-streamer.
## Usage
```bash
# install dependencies
pip install -r requirements.txt# start the server
python3 server.py
```### Options
| Short | Long | Description |
| ----- | ------------------- | ------------------------------------------------------------------------------- |
| `-l` | `--listen` | Specify the address the server listens on. Default is 0.0.0.0 |
| `-p` | `--port` | Specify the port number for the server. Default is 8080. |
| `-d` | `--device` | Specify the device number as an index for CV2.VideoCapture. Default is 0. |
| `-fh` | `--flip_horizontal` | Flip the captured video horizontally. Default is False. |
| `-fv` | `--flip_vertical` | Flip the captured video vertically. Default is False. |
| `-r` | `--rotate` | Rotate the captured image. Supports angles: 0, 90, 180, 270, -90. Default is 0. |