Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
Toggle table of contents sidebar

# HologramAuthenticationResult Class

Namespace: id3.Document

## Definition

Represents the result of hologram authentication.
Python

    class HologramAuthenticationResult

Dart

    class HologramAuthenticationResult implements Finalizable

C#

    public partial class HologramAuthenticationResult

Java

    public class HologramAuthenticationResult implements AutoCloseable, Serializable

Swift

    public class HologramAuthenticationResult

C

    typedef struct id3DocumentHologramAuthenticationResult *ID3_DOCUMENT_HOLOGRAM_AUTHENTICATION_RESULT;

## Usage

Python

    hologramAuthenticationResultInstance = HologramAuthenticationResult()
    # ...

Explicit destruction

    # ...
    del hologramAuthenticationResultInstance

Dart

    final hologramAuthenticationResultInstance = sdk.HologramAuthenticationResult();
    // ...

Explicit destruction

    // ...
    hologramAuthenticationResultInstance.dispose()

C#

    using (var hologramAuthenticationResultInstance = new HologramAuthenticationResult())
    {
       // ...
    }

Explicit destruction

    var hologramAuthenticationResultInstance = new HologramAuthenticationResult()
    // ...
    hologramAuthenticationResultInstance.Dispose()

Java

    try (HologramAuthenticationResult hologramAuthenticationResultInstance = new HologramAuthenticationResult()) {
    // ...
    }

Explicit destruction

    HologramAuthenticationResult hologramAuthenticationResultInstance = new HologramAuthenticationResult();
    // ...
    hologramAuthenticationResultInstance.close();

Swift

    private var hologramAuthenticationResultInstance: HologramAuthenticationResult? = nil
    hologramAuthenticationResultInstance = try HologramAuthenticationResult()

C

    ID3_DOCUMENT_HOLOGRAM_AUTHENTICATION_RESULT hHologramAuthenticationResult{};
    int err = id3DocumentHologramAuthenticationResult_Initialize(&hHologramAuthenticationResult);
    if (err == ID3_SUCCESS) {
        // ...
        id3DocumentHologramAuthenticationResult_Dispose(&hHologramAuthenticationResult);
    }

## Properties

Name | Type | Description
--- | --- | ---
bounds | Rectangle | Exact bounds of the text in the image.
correlationScore | float | Correlation of the variation to the background.
hologramName | string | Name of the hologram.
variationScore | float | Variation of the OVI color.

## Methods

Name | Description
--- | ---
clone | Clones the HologramAuthenticationResult object.