Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/muesli/asciicam
Displays your webcam... on the terminal
https://github.com/muesli/asciicam
Last synced: 12 days ago
JSON representation
Displays your webcam... on the terminal
- Host: GitHub
- URL: https://github.com/muesli/asciicam
- Owner: muesli
- License: mit
- Created: 2022-02-27T01:59:58.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-06-25T21:59:52.000Z (over 2 years ago)
- Last Synced: 2024-10-23T06:10:22.486Z (21 days ago)
- Language: Go
- Size: 843 KB
- Stars: 126
- Watchers: 5
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# asciicam
Displays your webcam... on the terminal.
## Build
```bash
$ go build
```## Usage
```bash
$ asciicam# use a specific camera device
$ asciicam -dev=/dev/video0# set output width (0 means auto-detection)
$ asciicam -width=80 -height=60# monochrome output
$ asciicam -color "#00ff00"# use ANSI output
$ asciicam -ansi=true# generate background sample data
$ asciicam -gen=true -sample bgdata/# enable virtual greenscreen (requires sample data)
$ asciicam -greenscreen=true -sample bgdata/# set greenscreen threshold
$ asciicam -greenscreen=true -sample bgdata/ -threshold=0.12# show FPS counter
$ asciicam -fps=true
```## Screenshots
ANSI mode:
![ANSI mode](/screenshots/asciicam_ansi.png?raw=true)
ASCII mode:
![ASCII mode](/screenshots/asciicam_ascii.png?raw=true)