 |
Face SDK
1.7 Mozart rc
Face Recognition Software Development Kit
|
Go to the documentation of this file.
4 #ifndef FACE_SDK_IMAGE_COMPRESSOR_H
5 #define FACE_SDK_IMAGE_COMPRESSOR_H
58 virtual std::shared_ptr<face_sdk::image>
decompress_image(
const std::vector<uint8_t> &img) = 0;
76 std::shared_ptr<image_compressor> FACE_SDK_EXPORT
make_image_compressor(uint32_t version,
const std::shared_ptr<face_sdk::license> &
license);
@ _1
size of resulting image will be not more than 800 bytes.
Definition: image_compressor.h:28
@ _2
size of resulting image will be not more than 900 bytes.
Definition: image_compressor.h:29
virtual std::vector< uint8_t > compress_image(const std::shared_ptr< face_sdk::image > &img, compression_level lvl)=0
Performs image compression.
std::shared_ptr< image_compressor > FACE_SDK_EXPORT make_image_compressor(uint32_t version, const std::shared_ptr< face_sdk::license > &license)
Makes an image_compressor with specified version and license.
The image_compressor. Can be used to compress and/or decompress images.
Definition: image_compressor.h:39
@ _4
size of resulting image will be not more than 1100 bytes.
Definition: image_compressor.h:31
compression_level
Level of compression used in compress_image function.
Definition: image_compressor.h:26
virtual std::shared_ptr< face_sdk::image > decompress_image(const std::vector< uint8_t > &img)=0
Performs image decompression.
@ _3
size of resulting image will be not more than 1000 bytes.
Definition: image_compressor.h:30
The license object. A license object provide information about your limits in face_sdk....
Definition: license.h:23
@ _5
size of resulting image will be not more than 1200 bytes.
Definition: image_compressor.h:32