19#define SFE_TATTOO_TEMPLATE_SIZE 522
49 float *out_matching_score);
75 size_t gallery_size,
float matching_score_threshold,
77 size_t *in_out_candidates_count,
size_t thread_count);
100 float matching_score_threshold,
102 size_t *in_out_candidates_count,
103 size_t thread_count);
std::optional< std::string > solver
File containing API of sfe_core library as part of SFE Toolkit.
void * SFESolver
Solver provides an abstract interface over inference models and engines.
void * SFEError
Error type used to hold optional error message.
SFEError sfeTattooTemplateExport(const SFETattooTemplate *tattoo_template, uint8_t *bytes, size_t *size)
Export tattoo template to bytes that can be shared between Innovatrics components....
SFEError sfeTattooTemplateVersion(const SFETattooTemplate *tattoo_template, SFETattooTemplateVersion *out_tattoo_template_version)
Get tattoo template version.
SFEError sfeTattooTemplateExtract(SFESolver solver, SFEImageView image, const SFEDetection *detection, SFETattooTemplate *out_tattoo_template)
Extract template from source image and given tattoo detection.
SFEError sfeTattooTemplateIdentify(const SFETattooTemplate *probe_tattoo_template, const SFETattooTemplate *templates_gallery, size_t gallery_size, float matching_score_threshold, SFETemplateIdentificationCandidate *out_candidates, size_t *in_out_candidates_count, size_t thread_count)
Get an ordered array of SFETemplateIdentificationCandidate from probe's template best matches with te...
SFEError sfeTattooTemplateImport(const uint8_t *bytes, size_t size, SFETattooTemplate *out_tattoo_template)
Import tattoo template from bytes that can be shared between Innovatrics components.
SFEError sfeTattooTemplateMatch(const SFETattooTemplate *template1, const SFETattooTemplate *template2, float *out_matching_score)
Match two tattoo templates.
SFEError sfeTattooEntityIdentify(const SFETattooTemplate *probe_tattoo_template, const SFETattooTemplate *templates_gallery, const SFEEntity *entities_gallery, size_t gallery_size, float matching_score_threshold, SFEEntityIdentificationCandidate *out_candidates, size_t *in_out_candidates_count, size_t thread_count)
Get an ordered array of SFEEntityIdentificationCandidate from probe's template best matches with temp...
#define SFE_TATTOO_TEMPLATE_SIZE
Tattoo template size in bytes.
Core detection - tagged union containing all detection types.
Entity type, used to group templates for entity identification. This type is compatible with uuid_v4 ...
Candidate for identification by entity.
Raw owned raster image representation, HWC|BGR order.
uint8_t data[SFE_TATTOO_TEMPLATE_SIZE]
Tattoo template version struct.
Candidate for identification by template.