DSCapturedResultReceiver
The DSCapturedResultReceiver
protocol provides methods for monitoring the output of captured results, which can consist of original image result(s), decoded barcode result(s), recognized text line result(s), detected quad result(s), normalized image result(s), or parsed result(s). The DSCapturedResultReceiver
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
Assembly: DynamsoftCore.framework
- Objective-C
- Swift
@protocol DSCapturedResultReceiver <NSObject>
protocol CapturedResultReceiver: NSObjectProtocol
Methods
Method | Description |
---|---|
onCapturedResultReceived |
The method for monitoring the output of DSCapturedResult . |
onOriginalImageResultReceived |
The method for monitoring the output of DSOriginalImageResultItem . |
onDecodedBarcodesReceived |
The method for monitoring the output of DSDecodedBarcodesResult . |
onRecognizedTextLinesReceived |
The method for monitoring the output of DSRecognizedTextLinesResult . |
onDetectedQuadsReceived |
The method for monitoring the output of DSDetectedQuadsResult . |
onNormalizedImagesReceived |
The method for monitoring the output of DSNormalizedImagesResult . |
onParsedResultsReceived |
The method for monitoring the output of DSParsedResult . |
onCapturedResultReceived
The method for monitoring the output of DSCapturedResult
.
- Objective-C
- Swift
- (void)onCapturedResultReceived:(DSCapturedResult*)result;
func onCapturedResultReceived(_ result: DSCapturedResult)
Parameters
result
: A DSCapturedResult
object as a captured result.
onOriginalImageResultReceived
The method for monitoring the output of DSOriginalImageResultItem
.
- Objective-C
- Swift
- (void)onOriginalImageResultReceived:(DSOriginalImageResultItem*)result;
func onOriginalImageResultReceived(_ result: DSOriginalImageResultItem)
Parameters
result
: A DSOriginalImageResultItem
object as a original image result.
onDecodedBarcodesReceived
The method for monitoring the output of DSDecodedBarcodesResult
.
- Objective-C
- Swift
- (void)onDecodedBarcodesReceived:(DSDecodedBarcodesResult*)result;
func onDecodedBarcodesReceived(_ result: DSDecodedBarcodesResult)
Parameters
result
: A DSDecodedBarcodesResult
object as a decoded barcode result.
onRecognizedTextLinesReceived
The method for monitoring the output of DSRecognizedTextLinesResult
.
- Objective-C
- Swift
- (void)onRecognizedTextLinesReceived:(DSRecognizedTextLinesResult*)result;
func onRecognizedTextLinesReceived(_ result: DSRecognizedTextLinesResult)
Parameters
result
: A DSRecognizedTextLinesResult
object as a recognized text line result.
onDetectedQuadsReceived
The method for monitoring the output of DSDetectedQuadsResult
.
- Objective-C
- Swift
- (void)onDetectedQuadsReceived:(DSDetectedQuadsResult*)result;
func onDetectedQuadsReceived(_ result: DSDetectedQuadsResult)
Parameters
result
: A DSDetectedQuadsResult
object as a detected quad result.
onNormalizedImagesReceived
The method for monitoring the output of DSNormalizedImagesResult
.
- Objective-C
- Swift
- (void)onNormalizedImagesReceived:(DSNormalizedImagesResult*)result;
func onNormalizedImagesReceived(_ result: DSNormalizedImagesResult)
Parameters
result
: A DSNormalizedImagesResult
object as a normalized image result.
onParsedResultsReceived
The method for monitoring the output of DSParsedResult
.
- Objective-C
- Swift
- (void)onParsedResultsReceived:(DSParsedResult*)result;
func onParsedResultsReceived(_ result: DSParsedResult)
Parameters
result
: A DSParsedResult
object as a parsed result.