CapturedResultReceiver
The CapturedResultReceiver interface is designed as a standardized way for retrieving captured results in the Dynamsoft Capture Vision architecture. By implementing the CapturedResultReceiver, you will receive the callback of the various types of captured results, such as original image, decoded barcode, recognized text line, detected quad, normalized image, or parsed data. The CapturedResultReceiver can add a receiver for any type of captured result or for a specific type of captured result, based on the method that is implemented.
Definition
Namespace: Dynamsoft.CaptureVisionRouter.Maui
Assembly: Dynamsoft.CaptureVisionRouter.Maui
interface ICapturedResultReceiver
Methods
| Method | Description |
|---|---|
OnCapturedResultReceived |
This callback method delivers a CapturedResult, which is an object containning all kinds of captured result items that are captured from the image. |
OnDecodedBarcodesReceived |
This callback method delivers a DecodedBarcodesResult, which is an object containning all CRIT_BARCODE typed captured result items that are captured from the image. |
OnParsedResultsReceived |
This callback method delivers a ParsedResult, which is an object containning all CRIT_PARSED_RESULT typed captured result items that are captured from the image. |
OnRecognizedTextLinesReceived |
This callback method delivers a RecognizedTextLinesResult, which is an object containning all CRIT_TEXT_LINE typed captured result items that are captured from the image. |
OnProcessedDocumentReceived |
This callback method delivers a ProcessedDocumentResult, which is an object containning all CRIT_DETECTED_QUAD typed captured result items that are captured from the image. |
OnCapturedResultReceived
This callback method delivers a CapturedResult, which is an object containning all kinds of captured result items that are captured from the image. The callback is triggered each time when an image finishes its processing.
void OnCapturedResultReceived(CapturedResult result);
Parameters
[in] result: The captured result, an instance of CapturedResult.
OnDecodedBarcodesReceived
This callback method delivers a DecodedBarcodesResult, which is an object containning all Barcode typed captured result items that are captured from the image. The callback is triggered each time when an image finishes its processing.
void OnDecodedBarcodesReceived(DecodedBarcodesResult result);
Parameters
[in] result: The decoded barcode result, an instance of DecodedBarcodesResult.
OnParsedResultsReceived
This callback method delivers a ParsedResult, which is an object containning all ParsedResult typed captured result items that are captured from the image. The callback is triggered each time when an image finishes its processing.
void OnParsedResultsReceived(ParsedResult result);
Parameters
[in] result: The parsed result, an instance of ParsedResult.
OnRecognizedTextLinesReceived
This callback method delivers a RecognizedTextLinesResult, which is an object containning all TextLine typed captured result items that are captured from the image. The callback is triggered each time when an image finishes its processing.
void OnRecognizedTextLinesReceived(RecognizedTextLinesResult result);
Parameters
[in] result: The recognized text line result, an instance of RecognizedTextLinesResult.
OnProcessedDocumentReceived
This callback method delivers a ProcessedDocumentResult, which is an object containning all DetectedQuad, DeskewedImage and EnhancedImage typed captured result items that are captured from the image. The callback is triggered each time when an image finishes its processing.
void OnProcessedDocumentReceived(ProcessedDocumentResult result);
Parameters
[in] result: The processed document result, an instance of ProcessedDocumentResult.