Camera API reference¶
Import:
import doly_camera
This page documents the public API exposed by the doly_camera Python module.
Enums¶
ExposureModes¶
Values:
EXPOSURE_NORMALEXPOSURE_SHORTEXPOSURE_CUSTOM
MeteringModes¶
Values:
METERING_CENTREMETERING_SPOTMETERING_MATRIXMETERING_CUSTOM
WhiteBalanceModes¶
Values:
WB_AUTOWB_NORMALWB_INCANDESCENTWB_TUNGSTENWB_FLUORESCENTWB_INDOORWB_DAYLIGHTWB_CLOUDYWB_CUSTOM
Classes¶
Options¶
Fields
- help
- version
- list_cameras
- verbose
- timeout
- photo_width
- photo_height
- video_width
- video_height
- roi_x
- roi_y
- roi_width
- roi_height
- shutter
- gain
- ev
- awb_gain_r
- awb_gain_b
- brightness
- contrast
- saturation
- sharpness
- framerate
- denoise
- info_text
- camera
Methods
set_metering(mode: Any) -> Noneset_white_balance(mode: Any) -> Noneset_exposure_mode(mode: Any) -> Noneget_exposure_mode() -> Noneget_metering_mode() -> Noneget_white_balance() -> None
PiCamera¶
Methods
start_photo(self: PiCamera) -> boolcapture_photo(self: PiCamera) -> py::objectstop_photo(self: PiCamera) -> boolstart_video(self: PiCamera) -> boolget_video_frame(timeout_ms: PiCamera = 1500) -> py::objectstop_video(self: PiCamera) -> Noneapply_zoom_options(self: PiCamera) -> Noneset_exposure(value: PiCamera) -> Noneset_awb_enable(enable: PiCamera) -> None