Face SDK  1.13.0 Mozart release
Face Recognition Software Development Kit
pure_fir_extractor.h
1 
4 #pragma once
5 
6 #include <face_sdk_base/export.h>
7 #include <face_sdk_base/license.h>
8 #include <face_sdk_base/fir.h>
9 
10 namespace face_sdk
11 {
20 {
21 public:
22  virtual ~pure_fir_extractor() = default;
23 
27  virtual std::vector<float> extract_from_long(const std::shared_ptr<face_sdk::fir> &fir) const = 0;
28 
32  virtual std::vector<int8_t> extract_from_short_or_binary(const std::shared_ptr<face_sdk::fir> &fir) const = 0;
33 };
34 
37 std::shared_ptr<pure_fir_extractor> FACE_SDK_EXPORT make_pure_fir_extractor();
38 
41 std::shared_ptr<pure_fir_extractor> FACE_SDK_EXPORT make_pure_fir_extractor(const std::shared_ptr<face_sdk::license> &license);
42 
44 }
std::shared_ptr< pure_fir_extractor > make_pure_fir_extractor(const std::shared_ptr< face_sdk::license > &license)
Makes face_sdk::pure_fir_extractor with specified license.
Definition: alignment_info.h:8
The FIR object. FIR - Face Identification Record, biometric template.
Definition: fir.h:23
Module allows to extract pure data from FIRs. Pure data can be used to implement manual matching...
Definition: pure_fir_extractor.h:19
virtual std::vector< float > extract_from_long(const std::shared_ptr< face_sdk::fir > &fir) const =0
Extracts pure data from long FIRs. Fir is long if it is not short and not binary. Use face_sdk::fir:...
virtual std::vector< int8_t > extract_from_short_or_binary(const std::shared_ptr< face_sdk::fir > &fir) const =0
Extracts pure data from short or binary FIRs. Use face_sdk::fir::is_short() and face_sdk::fir::is_bi...
The license object. A license object provides information about your limits in face_sdk. See Licensing.
Definition: license.h:26