12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- #import <CoreGraphics/CoreGraphics.h>
- #import <Foundation/Foundation.h>
- @class FIRVisionDocumentTextSymbol;
- @class FIRVisionTextRecognizedBreak;
- @class FIRVisionTextRecognizedLanguage;
- NS_ASSUME_NONNULL_BEGIN
- NS_SWIFT_NAME(VisionDocumentTextWord)
- @interface FIRVisionDocumentTextWord : NSObject
- @property(nonatomic, readonly) NSString *text;
- @property(nonatomic, readonly) NSArray<FIRVisionDocumentTextSymbol *> *symbols;
- @property(nonatomic, readonly) CGRect frame;
- @property(nonatomic, readonly) NSNumber *confidence;
- @property(nonatomic, readonly) NSArray<FIRVisionTextRecognizedLanguage *> *recognizedLanguages;
- @property(nonatomic, readonly, nullable) FIRVisionTextRecognizedBreak *recognizedBreak;
- - (instancetype)init NS_UNAVAILABLE;
- @end
- NS_ASSUME_NONNULL_END
|