Table of contents
Swift
Objective-C

CandidateBarcodeZone Class

The CandidateBarcodeZone class represents a candidate zone for barcode detection.

Definition

Module: dynamsoft_barcode_readers

class CandidateBarcodeZone

Methods

Method Description
__init__ Initializes a new instance of the CandidateBarcodeZone class.
get_location Gets the location of the candidate barcode.
set_location Sets the location of the candidate barcode.
get_possible_formats Gets the posssible formats of the candidate barcode.
set_possible_formats Sets the posssible formats of the candidate barcode.

__init__

Initializes a new instance of the CandidateBarcodeZone class.

def __init__(self, location: Quadrilateral=None, possibleFormats: int=None):

Parameters

location The location of the candidate barcode.

possible_formats The posssible formats of the candidate barcode.

get_location

Gets the location of the candidate barcode.

def get_location(self) -> Quadrilateral:

Return value

Returns the location of the candidate barcode.

See Also

Quadrilateral

set_location

Sets the location of the candidate barcode.

def set_location(self, loc: Quadrilateral) -> None:

Parameters

loc The location of the candidate barcode.

See Also

Quadrilateral

get_possible_formats

Gets the posssible formats of the candidate barcode.

def get_possible_formats(self) -> int:

Return value

Returns the posssible formats of the candidate barcode.

See Also

EnumBarcodeFormat

set_possible_formats

Sets the posssible formats of the candidate barcode.

def set_possible_formats(self, formats: int) -> None:

Parameters

formats The posssible formats of the candidate barcode.

See Also

EnumBarcodeFormat

Is this page helpful?

YesYes NoNo

In this article: