GiniVisionSpecificExtraction

void GiniVisionSpecificExtraction(@NonNull() String name, @NonNull() String value, @NonNull() String entity, @Nullable() GiniVisionBox box, @NonNull() List<GiniVisionExtraction> candidates)

Value object for a specific extraction from the Gini API.

Parameters

name

The specific extraction's name, e.g. "amountToPay". See Available Specific Extractions for a full list

value

normalized textual representation of the text/information provided by the extraction value (e. g. bank number without spaces between the digits). Changing this value marks the extraction as dirty

entity

key (primary identification) of an entity type (e.g. banknumber). See Extraction Entities for a full list

box

(optional) bounding box containing the position of the extraction value on the document. Only available for some extractions. Changing this value marks the extraction as dirty

candidates

A list containing other candidates for this specific extraction. Candidates are of the same entity as the found extraction