MLKitTextRecognitionCommon फ़्रेमवर्क रेफ़रंस के बारे में जानकारी
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
TextBlock
class TextBlock : NSObject
एक इमेज में पहचाना गया टेक्स्ट ब्लॉक जिसमें टेक्स्ट लाइनों की कलेक्शन होती है.
-
टेक्स्ट ब्लॉक का स्ट्रिंग प्रज़ेंटेशन जिसे पहचाना गया.
एलान
Swift
var text: String { get }
-
टेक्स्ट लाइनों का कलेक्शन, जो ब्लॉक बनाता है.
एलान
Swift
var lines: [MLKTextLine] { get }
-
वह रेक्टैंगल जिसमें डिफ़ॉल्ट कोऑर्डिनेट स्पेस में इमेज के मुकाबले टेक्स्ट ब्लॉक शामिल होता है.
एलान
Swift
var frame: CGRect { get }
-
टेक्स्ट ब्लॉक में पहचानी गई भाषाओं का कलेक्शन. अगर किसी भाषा की पहचान नहीं की जाती, तो कलेक्शन
खाली.
एलान
Swift
var recognizedLanguages: [MLKTextRecognizedLanguage] { get }
-
टेक्स्ट ब्लॉक के चार कोने वाले पॉइंट, घड़ी की सुई की दिशा में शुरू होते हैं और सबसे ऊपर बाएं पॉइंट से शुरू होते हैं
डिफ़ॉल्ट कोऑर्डिनेट स्पेस में इमेज से मिलता-जुलता है. NSValue
ऑब्जेक्ट, CGPoint
होते हैं.
एलान
Swift
var cornerPoints: [NSValue] { get }
-
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-08-22 (UTC) को अपडेट किया गया.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2024-08-22 (UTC) को अपडेट किया गया."],[[["`MLKTextBlock` represents a recognized text block in an image, containing an array of text lines."],["It provides access to the recognized text, individual text lines, and the block's bounding box within the image."],["Information about recognized languages and corner points of the text block are also available."],["It's worth noting that the `MLKTextBlock` instance itself is not directly instantiable, likely created internally during text recognition."]]],["A `TextBlock` object represents recognized text in an image. It provides the `text` (string representation), `lines` (array of `TextLine` objects), and `frame` (rectangle coordinates). It also details the `recognizedLanguages` and `cornerPoints` (four corners as `CGPoint`s). The `TextBlock` object cannot be initialized directly and is derived from image processing. The object contains the full recognized text of the block.\n"]]