|
std::shared_ptr< face_recognition > | face_sdk::make_face_recognition (uint32_t version, const std::shared_ptr< face_sdk::license > &license, const std::shared_ptr< face_sdk::data_container > &container, uint32_t batch_size, int32_t compute_device) |
| Makes the face_sdk::face_recognition object with specified version, license, data container, batch size and compute_device. More...
|
|
std::shared_ptr< face_recognition > | face_sdk::make_face_recognition (uint32_t version, const std::shared_ptr< face_sdk::license > &license, uint32_t batch_size, int32_t compute_device) |
| Makes the face_sdk::face_recognition object with specified version, license, batch size and compute device. The data container is loaded from known paths (see Known paths). More...
|
|
std::shared_ptr< face_recognition > | face_sdk::make_face_recognition (uint32_t version, const std::shared_ptr< face_sdk::data_container > &container, uint32_t batch_size, int32_t compute_device) |
| Makes the face_sdk::face_recognition object with specified version, data container, batch size and compute device. The license is loaded from known paths (see Known paths). More...
|
|
std::shared_ptr< face_recognition > | face_sdk::make_face_recognition (uint32_t version, uint32_t batch_size, int32_t compute_device) |
| Makes the face_sdk::face_recognition object with specified version, batch size and compute device. The data container and the license are loaded from known paths (see Known paths). More...
|
|
std::shared_ptr< tracker > | face_sdk::make_tracker (const tracker_config &config) |
| Makes the face_sdk::tracker object with specified configuration. More...
|
|
Module tracks persons in the video stream and collects faces of the same person in one track.
◆ make_face_recognition() [1/4]
Makes the face_sdk::face_recognition object with specified version, license, data container, batch size and compute_device.
- Parameters
-
[in] | version | Required version of the algorithm. See Face Tracker versions. |
[in] | license | The license object. See Licensing. |
[in] | contaner | The container with algorithm data. |
[in] | batch_size | The batch size. See Batching. |
[in] | compute_device | The compute device. -1 = CPU. 0, 1, ..., N - GPU device. |
- Exceptions
-
◆ make_face_recognition() [2/4]
std::shared_ptr<face_recognition> face_sdk::make_face_recognition |
( |
uint32_t |
version, |
|
|
const std::shared_ptr< face_sdk::license > & |
license, |
|
|
uint32_t |
batch_size, |
|
|
int32_t |
compute_device |
|
) |
| |
Makes the face_sdk::face_recognition object with specified version, license, batch size and compute device. The data container is loaded from known paths (see Known paths).
- Parameters
-
[in] | version | Required version of the algorithm. See Face Tracker versions. |
[in] | license | The license object. See Licensing. |
[in] | batch_size | The batch size. See Batching. |
[in] | compute_device | The compute device. -1 = CPU. 0, 1, ..., N - GPU device. |
- Exceptions
-
◆ make_face_recognition() [3/4]
Makes the face_sdk::face_recognition object with specified version, data container, batch size and compute device. The license is loaded from known paths (see Known paths).
- Parameters
-
[in] | version | Required version of the algorithm. See Face Tracker versions. |
[in] | container | The container with algorithm data. |
[in] | batch_size | The batch size. See Batching. |
[in] | compute_device | The compute device. -1 = CPU. 0, 1, ..., N - GPU device. |
- Exceptions
-
◆ make_face_recognition() [4/4]
std::shared_ptr<face_recognition> face_sdk::make_face_recognition |
( |
uint32_t |
version, |
|
|
uint32_t |
batch_size, |
|
|
int32_t |
compute_device |
|
) |
| |
Makes the face_sdk::face_recognition object with specified version, batch size and compute device. The data container and the license are loaded from known paths (see Known paths).
- Parameters
-
[in] | version | Required version of the algorithm. See Face Tracker versions. |
[in] | batch_size | The batch size. See Batching. |
[in] | compute_device | The compute device. -1 = CPU. 0, 1, ..., N - GPU device. |
- Exceptions
-
◆ make_tracker()
Makes the face_sdk::tracker object with specified configuration.
- Parameters
-
[in] | config | Configuration structure for the tracker object |
- Exceptions
-
face_sdk::invalid_parameter_exception | If any field of config structure is not initialized |
face_sdk::version_not_available_exception | If there are no version of tracker algorithm specified in version field of config structure |
- Examples:
- tracker.cpp.