Start the Camera service
Syntax:
camera [-c configuration_file] [-r camera_roll] [-U uid[:gid] [-v]
Options:
- -cconfiguration_file
- The configuration file to use. For more information about the configuration file, see Camera configuration file.
- -rcamera_roll
- The directory where the camera service saves image and video files.
- -U uid:gid
- The user ID and the group ID under which to run camera.
- -v
- Increase output verbosity. The -v option is cumulative; each additional v increases the level of verbosity, up to two levels (-vv).
Description:
This command starts the camera service and initializes the cameras connected to
your board. You can specify the location where image and video files are stored. In addition, you can
specify the configuration file to use to initialize the cameras. For more
information about the configuration file, see
Camera configuration file.
Example:
Provide access to user and group of 521, with the images stored in the
/accounts/1000/shared/camera directory using a configuration file at
/etc/system/config/camera.conf:
# camera –U 521:521 –r /accounts/1000/shared/camera –v \
–c /etc/system/config/camera.conf &