how to open camera in ubuntu code example

Example 1: ubuntu camera

sudo apt-get install cheese

Example 2: ubuntu camera

#There is a built in app called cheese webcam booth in Ubuntu 14.04. You can open it from launcher. It can be used to take photographs as well as videos.


Webcam Tools
Webcamoid	Full featured and multi-platform webcam suite with a simple interface
ZoneMinder	All-in-one security camera solution
Motion	V4L capture program supporting motion detection
Kerberos.io	Video surveillance solution
Clight	Webcam becomes light sensor
Cheese	Take pictures and videos from your webcam
Ekiga	VoIP and video conferencing application
Kamoso	Qt-based webcam utility
HasciiCam	ASCII cam streaming