asciicam

command module
v0.0.0-...-e17a933 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 25, 2022 License: MIT Imports: 21 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL