CandidateBarcodeZonesUnit Class
The CandidateBarcodeZonesUnit class represents a unit that contains candidate barcode zones unit. It inherits from the IntermediateResultUnit class.
Definition
Namespace: Dynamsoft.DBR.intermediate_results
Inheritance: IntermediateResultUnit -> CandidateBarcodeZonesUnit
class CandidateBarcodeZonesUnit : IntermediateResultUnit
Methods
| Method | Description |
|---|---|
AddCandidateBarcodeZone |
Adds a candidate barcode zone. |
GetCandidateBarcodeZone |
Gets a specific candidate barcode zone. |
GetCandidateBarcodeZones |
Gets all candidate barcode zones. |
GetCount |
Gets the number of candidate barcode zones in the unit. |
RemoveAllCandidateBarcodeZones |
Removes all the candidate barcode zones. |
RemoveCandidateBarcodeZone |
Removes a candidate barcode zone at the specified index. |
SetCandidateBarcodeZone |
Sets a candidate barcode zone at the specified index. |
Inherited Methods
Checkout inherited methods from IntermediateResultUnit for more details.
AddCandidateBarcodeZone
Adds a candidate barcode zone.
int AddCandidateBarcodeZone(CandidateBarcodeZone barcodeZone, double[] matrixToOriginalImage = null)
Parameters
barcodeZone The candidate barcode zone.
matrixToOriginalImage The matrix to original image.
Return value
Returns 0 if successful, otherwise returns a negative value.
GetCandidateBarcodeZone
Gets a candidate barcode zone specified by index.
int GetCandidateBarcodeZone(int index, out CandidateBarcodeZone barcodeZone)
Parameters
[in] index The index of the candidate barcode zone.
[out] barcodeZone The candidate barcode zone.
Return value
Returns 0 if successful, otherwise returns a negative value.
See Also
GetCandidateBarcodeZones
Gets all candidate barcode zones.
int GetCandidateBarcodeZones(out CandidateBarcodeZone[] barcodeZones)
Parameters
[out] barcodeZones The all candidate barcode zones.
Return value
Returns 0 if successful, otherwise returns a negative value.
See Also
GetCount
Gets the number of localized barcodes in the unit.
int GetCount()
Return value
Returns the number of candidate barcode zones in the unit.
RemoveAllCandidateBarcodeZones
Removes all the candidate barcode zones
void RemoveAllCandidateBarcodeZones()
RemoveCandidateBarcodeZone
Removes a candidate barcode zone at the specified index
int RemoveCandidateBarcodeZone(int index)
Parameters
index The index of the candidate barcode zone.
Return value
Returns 0 if successful, otherwise returns a negative value.
SetCandidateBarcodeZone
Sets a candidate barcode zone at the specified index.
int SetCandidateBarcodeZone(int index, CandidateBarcodeZone barcodeZone, double[] matrixToOriginalImage = null)
Parameters
index The index of the candidate barcode zone.
barcodeZone The candidate barcode zone.
matrixToOriginalImage The matrix to original image.
Return value
Returns 0 if successful, otherwise returns a negative value.
See Also