Webcam viewer + snapshot using pyGTK and Gstreamer
The idea of this project was to implement an interface allowing you to display a webcam live feed and to take snapshot from it.
How do I use 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-formatthe snapshot format. Available: jpeg & png. Default: jpeg
What do I need ?
This project uses gstreamer & pygtk. Consequently, the following modules are required:
gstpygstgtkpygtk