Localized Only Barcode#

Defined in package com.scandit.datacapture.barcode.data

LocalizedOnlyBarcode#
class LocalizedOnlyBarcode

Added in version 6.0.0

A barcode that was only localized but not recognized yet. This means there is no data or symbology associated with it.

location#
@NonNull Quadrilateral getLocation()

Added in version 6.0.0

The location of the code. The coordinates are in image-space, meaning that the coordinates correspond to actual pixels in the image. For display, the coordinates need first to be converted into screen-space.

The meaning of the values of Quadrilateral.topLeft etc is such that the top left point corresponds to the top left corner of the barcode, independent of how the code is oriented in the image.

Warning

In case the feature is not licensed, a quadrilateral with all corners set to 0, 0 is returned.

frameId#
int getFrameId()

Added in version 6.0.0

Id of the frame from which this barcode information was obtained.

toJson()#
@NonNull String toJson()

Added in version 6.1.0

Returns the JSON representation of the localized only barcode.