TextDetector
Objective-C
@interface TextDetector : NSObject
Swift
class TextDetector : NSObject
An abstract class providing interface for text detection algorithms
Member of Text
-
Method that provides a quick and simple interface to detect text inside an image
Declaration
Objective-C
- (void)detect:(nonnull Mat *)inputImage Bbox:(nonnull NSMutableArray<Rect2i *> *)Bbox confidence:(nonnull FloatVector *)confidence;Swift
func detect(inputImage: Mat, Bbox: NSMutableArray, confidence: FloatVector)Parameters
inputImagean image to process
Bboxa vector of Rect that will store the detected word bounding box
confidencea vector of float that will be updated with the confidence the classifier has for the selected bounding box
View on GitHub
TextDetector Class Reference