Class BCRecognition
Klasse die Methoden für die Barcodeerkennung zur Verfügung stellt
Inheritance
Inherited Members
Namespace: Simplic.Framework.DocumentProcessing.Document
Assembly: Simplic.Framework.DocumentProcessing.dll
Syntax
public static class BCRecognition
Methods
| Improve this Doc View SourceGetBarcodeDocument(Byte[], DocumentType, Barcode1DReaderType, Boolean, Boolean, Single, Single)
1D Barcodeerkennung Gibt ein BarcodeDocument zu einem übergebenem byte[] - Dokument zurück
Declaration
public static BarcodeDocument GetBarcodeDocument(byte[] data, DocumentType docType, Barcode1DReaderType bctypes, bool includeCorrupted, bool rotateCorruptedBarcode = false, float range = 10F, float stepSize = 0.5F)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | data | Das Dokument auf dem die Barcodeerkennung durchgeführt wird |
DocumentType | docType | Dokumententyp für die Barcodeerkennung |
Barcode1DReaderType | bctypes | Barcodetypen nach denen gesucht werden soll |
System.Boolean | includeCorrupted | Steuert ob Barcodes, welche eventuell Barcodes sein können, ebenfalls erkannt werden sollen |
System.Boolean | rotateCorruptedBarcode | If no barcode is found on a page but a corrupted one, the document will be turned and detectecing barcodes will be retried. |
System.Single | range | Range wich will be added to the skew angle of a document before turning it |
System.Single | stepSize | Steps (angle) which will be used for turning each side of a document |
Returns
Type | Description |
---|---|
BarcodeDocument | :BarcodeDocument Instanz |
GetBarcodeDocumentIntensive(Byte[], DocumentType, Barcode1DReaderType, Boolean, Int32)
intensive BC Testing using multiple regions on the given document. This Method may take some time
Declaration
public static BarcodeDocument GetBarcodeDocumentIntensive(byte[] data, DocumentType docType, Barcode1DReaderType bctypes, bool includeCorrupted, int mod = 10)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | data | document data |
DocumentType | docType | document type |
Barcode1DReaderType | bctypes | barcode types to look for |
System.Boolean | includeCorrupted | incl |
System.Int32 | mod | determines the grid size in which the page is splitted, 10 => 10*10 barcode scans per page |
Returns
Type | Description |
---|---|
BarcodeDocument |
GetBarcodes(Byte[], DocumentType, Barcode1DReaderType, Boolean)
(veraltet)Durchsucht das Dokument auf Barcodes (1D) Bitte GetBarcodeDocument verwenden!
Declaration
[Obsolete("Diese Methode is veraltet, bitte GetBarcodeDocument verwenden!")]
public static List<BarcodePage> GetBarcodes(byte[] data, DocumentType docType, Barcode1DReaderType bctypes, bool includeCorrupted)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | data | Binärdaten des Dokuments |
DocumentType | docType | Dokumenttentyp |
Barcode1DReaderType | bctypes | Enthält den/die Barcodetypen ( mit | verketten) |
System.Boolean | includeCorrupted | Steuert ob auch defekte Barcodes erkannt werden sollen |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<BarcodePage> | BarcodePage(s) |