Class BarcodeDetector
Definition
- Namespace:
- Tizen.Multimedia.Vision
- Assembly:
- Tizen.Multimedia.Vision.dll
Provides the ability to detect barcodes on image sources.
public static class BarcodeDetector
- Inheritance
-
objectBarcode
Detector
Methods
View SourceDetectAsync(MediaVisionSource, Rectangle, BarcodeDetectionConfiguration)
Detects barcodes on the source and reads the message from it with Barcode
Declaration
public static Task<IEnumerable<Barcode>> DetectAsync(MediaVisionSource source, Rectangle roi, BarcodeDetectionConfiguration config)
Parameters
Type | Name | Description |
---|---|---|
Media |
source | The Media |
Rectangle | roi | Region of interest - rectangular area on the source which will be used for barcode detection. Note that roi should be inside area on the source. |
Barcode |
config | The configuration of the barcode detector. This value can be null. |
Returns
Type | Description |
---|---|
System. |
A task that represents the asynchronous detect operation. |
Exceptions
Type | Condition |
---|---|
System. |
|
System. |
The feature is not supported. |
System. |
|
See Also
View SourceDetectAsync(MediaVisionSource, Rectangle)
Detects barcodes on the source and reads the message from it.
Declaration
public static Task<IEnumerable<Barcode>> DetectAsync(MediaVisionSource source, Rectangle roi)
Parameters
Type | Name | Description |
---|---|---|
Media |
source | The Media |
Rectangle | roi | Region of interest - rectangular area on the source which will be used for barcode detection. Note that roi should be inside area on the source. |
Returns
Type | Description |
---|---|
System. |
A task that represents the asynchronous detect operation. |
Exceptions
Type | Condition |
---|---|
System. |
|
System. |
The feature is not supported. |
System. |
|