IDLive Face C++ API 1.46.0
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
facesdk::ImageBatch Struct Reference

Structure for storing Image batch (a sequence of photos) More...

#include <facesdk/ImageBatch.h>

Public Member Functions

 ImageBatch (ImagePtr *images_, size_t n_images_, const uint64_t *timestamps_=nullptr)
 Create Image batch from Image array with timestamps.
 
void assign (ImagePtr *images_, size_t n_images_, const uint64_t *timestamps_=nullptr)
 
 ImageBatch (ImageBatch &&other) noexcept
 Create Image batch from another ImageBatch object.
 
 ImageBatch (const ImageBatch &other)
 
ImageBatchoperator= (const ImageBatch &other)
 

Public Attributes

size_t n_images = 0
 Number of images in ImageBatch (use at your own risk)
 
ImagePtrimages = nullptr
 Smart pointer to stored array of Images (direct use at your own risk)
 
uint64_t * timestamps = nullptr
 Smart pointer to array of timestamps (direct use at your own risk)
 

Detailed Description

Structure for storing Image batch (a sequence of photos)

Constructor & Destructor Documentation

◆ ImageBatch() [1/2]

facesdk::ImageBatch::ImageBatch ( ImagePtr images_,
size_t  n_images_,
const uint64_t *  timestamps_ = nullptr 
)

Create Image batch from Image array with timestamps.

Parameters
images_Pointer to Image array
n_images_Number of Image objects in array
timestamps_Timestamps, corresponding to Image objects in array

◆ ImageBatch() [2/2]

facesdk::ImageBatch::ImageBatch ( ImageBatch &&  other)
noexcept

Create Image batch from another ImageBatch object.

Parameters
otherReference to ImageBatch to copy