A simple tool to stream camera in shell.
Project description
CamShell
CamShell, A simple way to stream a camera as ASCII art directly in a terminal.
Installation
Using pip:
pip install camshell
How to Use
CLI Usage:
After installation, you can run the camshell command-line tool or by providing
the device id.
# Run the default device
camshell
# Or run by device-id
camshell 1
# Or a device path specifically
camshell /dev/video3
Python API Usage
If you’d like to use XDisplay in your Python code, here’s how:
from camshell.xdisplay import XDisplay as CamShellDisplay
# simply call:
device_id = "/dev/video0"
CamShellDisplay.start(device_id)
Run on a custom screen
from asciimatics.screen import Screen
from camshell.xdisplay import XDisplay as CamShellDisplay
with XDisplay(cap_id="/dev/video0") as display:
Screen.wrapper(display.run)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file camshell-0.1.0.tar.gz.
File metadata
- Download URL: camshell-0.1.0.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4950e7c1778920719f16bbf50fc2d82e4062fb9db2778f9a42e006400a1499d8
|
|
| MD5 |
8b6376e1d928a29c6e911e979862acf1
|
|
| BLAKE2b-256 |
8b934d4d675ad423f52cc50665dc90f341e665858ee743f1146fb690507527d8
|
File details
Details for the file camshell-0.1.0-py3-none-any.whl.
File metadata
- Download URL: camshell-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
79c86a2b1099f9daad8f5e04011dddd543edd8a764a735204585a681fac07464
|
|
| MD5 |
5f782432223b0c3c59cb7b2a760553cd
|
|
| BLAKE2b-256 |
5fbb930f67c35318af660dda7a5c3f52f2ea077f4a976360f95b0620748ac3e7
|