Iris SDK  1.0
Iris Recognition Software Development Kit
builder.h
Go to the documentation of this file.
1 #pragma once
2 
6 #include <iris_base/license.h>
7 
8 #include <iris_base/export.h>
9 
10 #include <memory>
11 
12 namespace iris_sdk
13 {
14 
22 class IRIS_SDK_EXPORT builder
23 {
24 public:
25  virtual ~builder() = default;
26 
40  virtual uint32_t build(const std::vector<uint8_t> &image, int mode, std::vector<uint8_t> &iris_template, float & blurvalue, int32_t &occlusion) = 0;
41 };
42 
52 std::unique_ptr<builder> IRIS_SDK_EXPORT make_builder(const std::shared_ptr<license> &license, uint32_t version);
53 
54 }
The iris builder.
Definition: builder.h:22
std::unique_ptr< builder > IRIS_SDK_EXPORT make_builder(const std::shared_ptr< license > &license, uint32_t version)
Makes iris builder with specified builder version. The license and data container will be loaded from...
The license object. A license object provide information about your limits in iris_sdk. See Licensing Use iris_sdk::load_license_from_file() and iris_sdk::load_license_from_data() functions for instantiate a license object.
Definition: license.h:18
Definition: codes.h:6