Protocols
The following protocols are available globally.
-
To be implemented if custom AVFoundation logic is needed. This may be desireable if using RealTimeEngine in tandem with another class or library that requires CMSampleBuffers for processing.
See moreDeclaration
Swift
public protocol AVManager : AnyObject
-
To be implemented if custom image processing is needed. The default SwiftyTesseractRTE implementation does a small amount of image enhancement and conversion to grayscale. If the results from
See moreRealTimeEngine
do not come back reliably, then performing your own image processing may be neccessary to receive optimal results.Declaration
Swift
public protocol AVSampleProcessor