Skip to content

muesli/asciicam

Repository files navigation

asciicam

Displays your webcam... on the terminal.

Build

$ go build

Usage

$ 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

ASCII mode:

ASCII mode

About

Displays your webcam... on the terminal

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages