Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2024-08-22 UTC.
[null,null,["Terakhir diperbarui pada 2024-08-22 UTC."],[[["`MLKText` represents recognized text within an image, providing access to the text string itself."],["It includes an array of `MLKTextBlock` objects, representing individual blocks of recognized text."],["If no text is recognized, the `text` property will be an empty string."],["Initializing `MLKText` directly is not allowed; it's likely obtained through other API methods."]]],["The `Text` class represents recognized text within an image. It provides access to the `text` property, a string containing the recognized text, which is empty if no text is found. It also includes the `blocks` property, an array of `MLKTextBlock` objects representing the blocks of recognized text. The class has an initializer (`init`) that is unavailable for direct use.\n"]]