logo (C) Bas Schuiling

Grabby

Examples

detecting motion and drawing a box where motion was detected

grabby -f webcam.jpg -L 5 -t "%F %R:%S" -p mode_xor_rgb -c 40 -M draw_box

converting to gray-scale

grabby -f webcam.jpg -p gray -g pal

converting to gray-scale, using hue as gray-channel

grabby -f webcam.jpg -b contrast -p hue -g pal

converting to gray-scale, use red colors

grabby -f webcam.jpg -p red -g pal

converting to gray-scale, use green colors

grabby -f webcam.jpg -p green -g pal

converting to gray-scale, use blue colors

grabby -f webcam.jpg -p blue -g pal

rotate horizontally

grabby -f webcam.jpg -e hmirror

overlay picture (chroma key), pnm is a portable bitmap, convert using the netpbm package

grabby -f webcam.jpg -T overlay.pnm

colors inverted (rgb)

grabby -f webcam.jpg -e invert

invert luminance (hls)

grabby -f webcam.jpg -e invert_luminance

maximum saturation

grabby -f webcam.jpg -e max_saturation

invert hue

grabby -f webcam.jpg -e invert_hue

add configurable text

grabby -f webcam.jpg -T "Hello, world %R"

add configurable text

grabby -f webcam.jpg -T "Hello, world %R" -x center-center

add noise

grabby -f webcam.jpg -p rgb -Y pos_noise

spot

grabby -f webcam.jpg -e spot

inverted colors spot

grabby -f webcam.jpg -e invert_spot

color blend spot

grabby -f webcam.jpg -p 255,0,0 -e color_spot

boost the brightness by user-set amount

grabby -f webcam.jpg -p 255,0,0 -p 2.2 -e set_brightness

boost the brightness by user-set amount with wrap

grabby -f webcam.jpg -p 255,0,0 -p 2.2 -e set_brightness_wrap

matrix filter, HLS

grabby -f webcam.jpg -p hls,matrix_example.txt -Y matrix_filter

matrix filter, RGB

grabby -f webcam.jpg -p rgb,matrix_example.txt -Y matrix_filter


Version 0.7:

wobbly effect

grabby -f webcam.jpg -p 10,10 -e wobble_h

blocks

grabby -f webcam.jpg -p 5 -e blocks

merge (blend in) picture

grabby -f webcam.jpg -p 33,/home/folkert/copy/Mandelbrot_fractal.pnm -e merge_pic -t "%F %R:%S"

matrix sharpness filter

grabby -f webcam.jpg -p rgb,matrix_example-sharpness.txt -Y matrix_filter
new
org

matrix embossing filter

grabby -f webcam.jpg -p rgb,matrix_example-embossing.txt -Y matrix_filter

matrix edge detect filter

grabby -f webcam.jpg -p rgb,matrix_example-edgedetect.txt -Y matrix_filter


Version 0.8:

circles

grabby -f webcam.jpg -p 5 -e circles

interlace

grabby -f webcam.jpg -p halfcolor -e interlace

color blend

grabby -f webcam.jpg -p 0,0,255 -e color_blend

color palette (e.g. reduce the number of colors used)

grabby -f webcam.jpg -p palette-excel2000.txt -e use_palette

puzzle

grabby -f webcam.jpg -p 3 -e puzzle


Version 0.9:

convert to black+white

grabby -f webcam.jpg -p 127 -e bw

median filter

grabby -f webcam.jpg -p rgb,20 -Y median
before:
after:

map image onto sphere

grabby -f webcam.jpg -e map_on_sphere

pull image into center

grabby -f webcam.jpg -e pull_into_center

rotate image

grabby -f webcam.jpg -p 45 -e rotate

vortex

grabby -f webcam.jpg -p 1 -e vortex
grabby -f webcam.jpg -p 3 -e vortex

Version 1.0:

Warhol

grabby -f webcam.jpg -p 3,fast -e warhol

Pixelate

grabby -f webcam.jpg -e pixelate

Broken TV

grabby -o none -L 0 -p previmg -e interlace -e broken_tv -s -p rgb -Y pos_noise -p rgb,0.5 -Y color_noise


Version 1.1:

magnifier

grabby -f webcam.jpg -p 100,2 -e moving_magnifier


Live feed example

Image grabbed from a Philips PCVC740K ToUcam Pro.
In this image you see an example of the '-T'-overlay (chroma key) capability (the girl and the logo).

Image updates once per minute.


Back to the grabby page.




feedback