All URIs are relative to https://api.aspose.cloud/v4.0
| Method | HTTP request | Description |
|---|---|---|
| Recognize | GET /barcode/recognize | Recognize a barcode from a file on an Internet server using a GET request with a query string parameter. For recognizing files from your hard drive, use `recognize-body` or `recognize-multipart` endpoints instead. |
| RecognizeBase64 | POST /barcode/recognize-body | Recognize a barcode from a file in the request body using a POST request with JSON or XML body parameters. |
| RecognizeMultipart | POST /barcode/recognize-multipart | Recognize a barcode from a file in the request body using a POST request with multipart form parameters. |
BarcodeResponseList Recognize (DecodeBarcodeType barcodeType, string fileUrl, RecognitionMode? recognitionMode = null, RecognitionImageKind? recognitionImageKind = null)Recognize a barcode from a file on an Internet server using a GET request with a query string parameter. For recognizing files from your hard drive, use recognize-body or recognize-multipart endpoints instead.
| Name | Type | Description | Notes |
|---|---|---|---|
| barcodeType | DecodeBarcodeType | Type of barcode to recognize. | |
| fileUrl | string | URL to the barcode image. | |
| recognitionMode | RecognitionMode? | Recognition mode. | [optional] |
| recognitionImageKind | RecognitionImageKind? | Image kind for recognition. | [optional] |
- Content-Type: Not defined
- Accept: application/json, application/xml
BarcodeResponseList RecognizeBase64 (RecognizeBase64Request recognizeBase64Request)Recognize a barcode from a file in the request body using a POST request with JSON or XML body parameters.
| Name | Type | Description | Notes |
|---|---|---|---|
| recognizeBase64Request | RecognizeBase64Request | Barcode recognition request. |
- Content-Type: application/json, application/xml
- Accept: application/json, application/xml
BarcodeResponseList RecognizeMultipart (DecodeBarcodeType barcodeType, System.IO.Stream file, RecognitionMode? recognitionMode = null, RecognitionImageKind? recognitionImageKind = null)Recognize a barcode from a file in the request body using a POST request with multipart form parameters.
| Name | Type | Description | Notes |
|---|---|---|---|
| barcodeType | DecodeBarcodeType | See https://reference.aspose.com/barcode/net/aspose.barcode.barcoderecognition/decodetype/ | |
| file | System.IO.Stream****System.IO.Stream | Barcode image file. | |
| recognitionMode | RecognitionMode? | Recognition mode. | [optional] |
| recognitionImageKind | RecognitionImageKind? | Image kind for recognition. | [optional] |
- Content-Type: multipart/form-data
- Accept: application/json, application/xml