RTRTextCaptureService protocol
A background text capture service protocol. Inherits from the RTRRecognitionService protocol.
This protocol is adopted by the text capture service object returned by the createTextCaptureServiceWithDelegate: method. Its methods are used to tune the processing settings, pass video frames from the camera to the background processing engine, and release the resources afterwards.
The text capture service requires a delegate that conforms to the RTRTextCaptureServiceDelegate protocol. The service informs the delegate when the result is ready, sends progress information, warnings and errors.
Methods
Name | Description |
---|---|
- addSampleBuffer: | Sends the video frame obtained from camera to the service. Inherited from the RTRRecognitionService protocol. |
- setAreaOfInterest: | Sets the search area on the frame. Inherited from the RTRRecognitionService protocol. |
- setRecognitionLanguages: | Sets the languages to be used for recognition. |
- setTextTypes: | Sets the text types to be used for recognition. |
- stopTasks | Stops processing and releases the resources used by the recognition service. Inherited from the RTRRecognitionService protocol. |
02.03.2022 12:59:15