MLKitDigitalInkRecognition フレームワーク リファレンス
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
DigitalInkRecognitionResult
class DigitalInkRecognitionResult : NSObject
インク認識の出力を表すオブジェクト。
認識ツールでは通常、複数の認識の代替手段が用意されています。これは、ユーザーの意図は認識されないためです。
常に明確です。たとえば、ユーザーが縦線を書いてから円を描くと、
「10」、「IO」、「lo」などがあります。
変換候補には「candidates」という名前が付けられます。このオブジェクトは、一連の候補をリストとして表します。
DigitalInkRecognitionCandidate
。
DigitalInkRecognizer
を使用して認識自体を実行します。何も認識できなかったら
プロパティ candidates
は空の配列になります。
-
宣言
Swift
var candidates: [MLKDigitalInkRecognitionCandidate] { get }
-
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 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。"],[[["`DigitalInkRecognitionResult` stores the output of an ink recognition process, offering multiple interpretations of the user's input."],["Recognition results are presented as a ranked list of `DigitalInkRecognitionCandidate` objects, with the most likely interpretation appearing first."],["The number of candidates provided depends on the configuration of the `DigitalInkRecognitionModel` and `DigitalInkRecognizerOptions` used during recognition."],["If the recognizer cannot interpret the ink input, the `candidates` list will be empty."],["`DigitalInkRecognitionResult` objects are generated by the `DigitalInkRecognizer` and should not be manually instantiated."]]],[]]