The idea of this project was to implement an interface allowing you to display a webcam live feed and to take snapshot from it.
Type in
python demo.pyThe possible (and optional) arguments are :
-d
/--device
: the device used for video input. Default:/dev/video0
-r
/--resolution
: the webcam resolution. Format: W:H. Default: 640:480-o
/--ouput-format
the snapshot format. Available: jpeg & png. Default: jpeg
This project uses gstreamer & pygtk. Consequently, the following modules are required:
gst
pygst
gtk
pygtk