cameracompress
Image compression. More...
Image compression.
The cameracompress driver accepts data from another camera device, compresses it, and makes the compressed data available on a new interface.
- Compile-time dependencies
- libjpeg
- Provides
- Compressed image data is provided via a camera device.
- Requires
- Image data to be compressed is read from a camera device.
- Configuration requests
- none
- Configuration file options
- check_timestamps (integer)
- Default: 0
- If non-zero, timestamps are checked so only new images are compressed and published.
- save (integer)
- Default: 0
- If non-zero, uncompressed images are saved to disk (with a .jpeg extension)
- image_quality (float)
- Default: 0.8
- Image quality for JPEG compression
- request_only (integer)
- Default: 0
- If set to 1, data will be sent only at PLAYER_CAMEARA_REQ_GET_IMAGE response.
- Example
driver ( name "cameracompress" provides ["camera:1"] requires ["camera:0"] # Compress data from device camera:0 )