MLKitTextRecognitionCommon Çerçeve Referansı
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
MLKTextBlock
@interface MLKTextBlock : NSObject
Bir dizi metin satırından oluşan ve resimde tanınan metin bloğu.
-
Tanınan metin bloğunun dize gösterimi.
Bildirim
Objective-C
@property (nonatomic, readonly) NSString *_Nonnull text;
-
Bloğu oluşturan bir dizi metin satırı.
Bildirim
Objective-C
@property (nonatomic, readonly) NSArray<MLKTextLine *> *_Nonnull lines;
-
Varsayılan koordinat alanındaki resme göre metin bloğunu içeren dikdörtgen.
Bildirim
Objective-C
@property (nonatomic, readonly) CGRect frame;
-
Metin bloğunda tanınan dillerden oluşan bir dizi. Herhangi bir dil tanınmadıysa dizi
boştur.
-
Metin bloğunun sol üst noktadan başlayarak saat yönünde sıralanmış dört köşe noktası
resme göre varsayılan koordinat alanındaki NSValue
nesneleri CGPoint
şeklindedir.
Bildirim
Objective-C
@property (nonatomic, readonly) NSArray<NSValue *> *_Nonnull cornerPoints;
-
Bildirim
Objective-C
- (nonnull instancetype)init;
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2024-08-20 UTC.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2024-08-20 UTC."],[[["`MLKTextBlock` represents a recognized text block from an image, containing an array of text lines."],["It provides access to the text content, individual lines, bounding box, recognized languages, and corner points of the block."],["The `frame` property defines the block's location and size within the image's coordinate space."],["`recognizedLanguages` offers information about the detected languages within the text block."],["Corner points of the text block are accessible via the `cornerPoints` property, useful for spatial understanding."]]],["`MLKTextBlock` represents a text block within an image. It provides a string representation (`text`) of the recognized text and an array of constituent text lines (`lines`). It also defines the bounding rectangle (`frame`) and corner points (`cornerPoints`) of the block within the image's coordinate space. Furthermore, it lists any detected languages (`recognizedLanguages`) present in the text. It has an unavailable init method.\n"]]