{"id":302066,"date":"2025-06-19T17:51:41","date_gmt":"2025-06-19T17:51:41","guid":{"rendered":"https:\/\/peraltafinancing.com\/apple-2\/text-recognition-with-ml-kit-for-android-getting-started\/"},"modified":"2025-06-19T17:51:41","modified_gmt":"2025-06-19T17:51:41","slug":"text-recognition-with-ml-kit-for-android-getting-started","status":"publish","type":"post","link":"https:\/\/fivemor.com\/?p=302066","title":{"rendered":"Text Recognition with ML Kit for Android: Getting Started"},"content":{"rendered":"<p> <br \/>\n<\/p>\n<div>\n<p>ML Kit is a mobile SDK from Google that uses machine learning to solve problems such as text recognition, text translation, object detection, face\/pose detection, and so much more!<\/p>\n<p>The APIs can run on-device, enabling you to process real-time use cases without sending data to servers.<\/p>\n<p>ML Kit provides two groups of APIs:<\/p>\n<ul>\n<li>\n<em>Vision APIs<\/em>: These include barcode scanning, face detection, text recognition, object detection, and pose detection.<\/li>\n<li>\n<em>Natural Language APIs<\/em>: You use them whenever you need to identify languages, translate text, and perform smart replies in text conversations.<\/li>\n<\/ul>\n<p>This tutorial will focus on <em>Text Recognition<\/em>. With this API you can extract text from images, documents, and camera input in real time.<\/p>\n<p>In this tutorial, you\u2019ll learn:<\/p>\n<ul>\n<li>What a text recognizer is and how it groups text elements.<\/li>\n<li>The ML Kit Text Recognition features.<\/li>\n<li>How to recognize and extract text from an image.<\/li>\n<\/ul>\n<h2 id=\"toc-anchor-001\">Getting Started<\/h2>\n<p>Throughout this tutorial, you\u2019ll work with <em>Xtractor<\/em>. This app lets you take a picture and extract the X usernames. You could use this app in a conference whenever the speaker shows their contact data and you\u2019d like to look for them later.<\/p>\n<p>Use the <em>Download Materials<\/em> button at the top or bottom of this tutorial to download the starter project.<\/p>\n<p>Once downloaded, open the starter project in Android Studio Meerkat or newer. Build and run, and you\u2019ll see the following screen:<\/p>\n<p>Clicking the <em>plus<\/em> button will let you choose a picture from your gallery. But, there won\u2019t be any text recognition.<\/p>\n<p><a href=\"https:\/\/files.koenig.kodeco.com\/uploads\/2025\/05\/xtractor-no-text-recognition.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/files.koenig.kodeco.com\/uploads\/2025\/05\/xtractor-no-text-recognition-650x293.png\" alt=\"Chosen image\" width=\"650\" height=\"293\" class=\"aligncenter size-large wp-image-324920 bordered\" srcset=\"https:\/\/files.koenig.kodeco.com\/uploads\/2025\/05\/xtractor-no-text-recognition-650x293.png 650w, https:\/\/files.koenig.kodeco.com\/uploads\/2025\/05\/xtractor-no-text-recognition-480x216.png 480w, https:\/\/files.koenig.kodeco.com\/uploads\/2025\/05\/xtractor-no-text-recognition.png 1200w\" sizes=\"auto, (max-width: 650px) 100vw, 650px\"\/><\/a><\/p>\n<p>Before adding text recognition functionality, you need to understand some concepts.<\/p>\n<h2 id=\"toc-anchor-002\">Using a Text Recognizer<\/h2>\n<p>A text recognizer can detect and interpret text from various sources, such as images, videos, or scanned documents. This process is called <em>OCR<\/em>, which stands for: Optical Character Recognition.<\/p>\n<p>Some text recognition use cases might be:<\/p>\n<ul>\n<li>Scanning receipts or books into digital text.<\/li>\n<li>Translating signs from static images or the camera.<\/li>\n<li>Automatic license plate recognition.<\/li>\n<li>Digitizing handwritten forms.<\/li>\n<\/ul>\n<p>Here\u2019s a breakdown of what a text recognizer typically does:<\/p>\n<ul>\n<li>\n<em>Detection<\/em>: Finds where the text is located within an image, video, or document.<\/li>\n<li>\n<em>Recognition<\/em>: Converts the detected characters or handwriting into machine-readable text.<\/li>\n<li>\n<em>Output<\/em>: Returns the recognized text.<\/li>\n<\/ul>\n<p>ML Kit Text Recognizer segments text into blocks, lines, elements, and symbols.<\/p>\n<p><a href=\"https:\/\/files.koenig.kodeco.com\/uploads\/2025\/05\/blocks-lines-elements.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/files.koenig.kodeco.com\/uploads\/2025\/05\/blocks-lines-elements-650x185.png\" alt=\"\" width=\"650\" height=\"185\" class=\"aligncenter size-large wp-image-324922 bordered\" srcset=\"https:\/\/files.koenig.kodeco.com\/uploads\/2025\/05\/blocks-lines-elements-650x185.png 650w, https:\/\/files.koenig.kodeco.com\/uploads\/2025\/05\/blocks-lines-elements-480x137.png 480w\" sizes=\"auto, (max-width: 650px) 100vw, 650px\"\/><\/a><\/p>\n<p>Here\u2019s a brief explanation of each one:<\/p>\n<ul>\n<li>\n<em>Block<\/em>: Shows in red, a set of text lines, e.g. a paragraph or column.<\/li>\n<li>\n<em>Line<\/em>: Shows in blue, a set of words.<\/li>\n<li>\n<em>Element<\/em>: Shows in green, a set of alphanumeric characters, a word.<\/li>\n<li>\n<em>Symbol<\/em>: Single alphanumeric character.<\/li>\n<\/ul>\n<h2 id=\"toc-anchor-003\">ML Kit Text Recognition Features<\/h2>\n<p>The API has the following features:<\/p>\n<ul>\n<li>Recognize text in various languages. Including Chinese, Devanagari, Japanese, Korean, and Latin. These were included in the latest (V2) version. Check the supported languages <a href=\"https:\/\/developers.google.com\/ml-kit\/vision\/text-recognition\/v2\/languages\" rel=\"noopener\" target=\"_blank\">here<\/a>.<\/li>\n<li> Can differentiate between a character, a word, a set of words, and a paragraph.<\/li>\n<li>Identify the recognized text language.<\/li>\n<li>Return bounding boxes, corner points, rotation information, confidence score for all detected blocks, lines, elements, and symbols<\/li>\n<li>Recognize text in real-time.<\/li>\n<\/ul>\n<h2 id=\"toc-anchor-004\">Bundled vs. Unbundled<\/h2>\n<p>All ML Kit features make use of Google-trained machine learning models by default. <\/p>\n<p>Particularly, for text recognition, the models can be installed either:<\/p>\n<ul>\n<li>Unbundled: Models are downloaded and managed via Google Play Services.<\/li>\n<li>Bundled: Models are statically linked to your app at build time.<\/li>\n<\/ul>\n<p>Using bundled models means that when the user installs the app, they\u2019ll also have all the models installed and will be usable immediately. Whenever the user uninstalls the app, all the models will be deleted. To update the models, first the developer has to update the models, publish the app, and the user has to update the app.<\/p>\n<p>On the other hand, if you use unbundled models, they\u2019re stored in Google Play Services. The app has to first download them before use. When the user uninstalls the app, the models will not necessarily be deleted. They\u2019ll only be deleted if all apps that depend on those models are uninstalled. Whenever a new version of the models are released, they\u2019ll be updated to be used in the app.<\/p>\n<p>Depending on your use case, you may choose one option or the other.<\/p>\n<p>It\u2019s suggested to use the unbundled option if you want a smaller app size and automated model updates by Google Play Services. <\/p>\n<p>However, you should use the bundled option if you want your users to have full feature functionality right after installing the app.<\/p>\n<h3 id=\"toc-anchor-005\">Adding Text Recognition Capabilities<\/h3>\n<p>To use ML Kit Text Recognizer, open your app\u2019s <em>build.gradle<\/em> file of the starter project and add the following dependency:<\/p>\n<pre lang=\"groovy\">&#13;\nimplementation(\"com.google.mlkit:text-recognition:16.0.1\")&#13;\nimplementation(\"org.jetbrains.kotlinx:kotlinx-coroutines-play-services:1.10.2\")&#13;\n<\/pre>\n<p>Here, you\u2019re using the <code>text-recognition<\/code> bundled version.<\/p>\n<p>Now, sync your project.<\/p>\n<div class=\"note\">\n<em>Note<\/em>: To get the latest version of <code>text-recognition<\/code>, please check <a href=\"https:\/\/developers.google.com\/ml-kit\/release-notes#latest_versions\" rel=\"noopener\" target=\"_blank\">here<\/a>.<br \/>\nTo get the latest version of <code>kotlinx-coroutines-play-services<\/code>, check <a href=\"https:\/\/central.sonatype.com\/search?q=kotlinx-coroutines-play-services&amp;smo=true&amp;name=kotlinx-coroutines-play-services&amp;namespace=org.jetbrains.kotlinx\" target=\"_blank\">here<\/a>. And, to support other languages, use the corresponding dependency. You can check them <a href=\"https:\/\/developers.google.com\/ml-kit\/vision\/text-recognition\/v2\/android#before_you_begin\" rel=\"noopener\" target=\"_blank\">here<\/a>.\n<\/div>\n<p>Now, replace the code of <code>recognizeUsernames<\/code> with the following:<\/p>\n<pre lang=\"kotlin\">&#13;\nval image = InputImage.fromBitmap(bitmap, 0)&#13;\nval recognizer = TextRecognition.getClient(TextRecognizerOptions.DEFAULT_OPTIONS)&#13;\nval result = recognizer.process(image).await()&#13;\n&#13;\nreturn emptyList()&#13;\n<\/pre>\n<p>You first get an image from a bitmap. Then, you get an instance of a <code>TextRecognizer<\/code> using the default options, with Latin language support. Finally, you process the image with the recognizer.<\/p>\n<p>You\u2019ll need to import the following:<\/p>\n<pre lang=\"kotlin\">&#13;\nimport com.google.mlkit.vision.text.TextRecognition&#13;\nimport com.google.mlkit.vision.text.latin.TextRecognizerOptions&#13;\nimport com.kodeco.xtractor.ui.theme.XtractorTheme&#13;\nimport kotlinx.coroutines.tasks.await&#13;\n<\/pre>\n<div class=\"note\">\n<em>Note<\/em>: To support other languages pass the corresponding option. You can check them <a href=\"https:\/\/developers.google.com\/ml-kit\/vision\/text-recognition\/v2\/android#1_create_an_instance_of_textrecognizer\" rel=\"noopener\" target=\"_blank\">here<\/a>.\n<\/div>\n<p>You could obtain blocks, lines, and elements like this:<\/p>\n<pre lang=\"kotlin\">&#13;\n\/\/ 1&#13;\nval text = result.text&#13;\n&#13;\nfor (block in result.textBlocks) {&#13;\n \/\/ 2&#13;\n val blockText = block.text&#13;\n val blockCornerPoints = block.cornerPoints&#13;\n val blockFrame = block.boundingBox&#13;\n&#13;\n for (line in block.lines) {&#13;\n \/\/ 3&#13;\n val lineText = line.text&#13;\n val lineCornerPoints = line.cornerPoints&#13;\n val lineFrame = line.boundingBox&#13;\n&#13;\n for (element in line.elements) {&#13;\n \/\/ 4&#13;\n val elementText = element.text&#13;\n val elementCornerPoints = element.cornerPoints&#13;\n val elementFrame = element.boundingBox&#13;\n }&#13;\n }&#13;\n}&#13;\n<\/pre>\n<p>Here\u2019s a brief explanation of the code above:<\/p>\n<ol>\n<li>First, you get the full text.<\/li>\n<li>Then, for each block, you get the text, the corner points, and the frame.<\/li>\n<li>For each line in a block, you get the text, the corner points, and the frame.<\/li>\n<li>Finally, for each element in a line, you get the text, the corner points, and the frame.<\/li>\n<\/ol>\n<p>However, you only need the elements that represent X usernames, so replace the <code>emptyList()<\/code> with the following code:<\/p>\n<pre lang=\"kotlin\">&#13;\nreturn result.textBlocks&#13;\n .flatMap { it.lines }&#13;\n .flatMap { it.elements }&#13;\n .filter { element -&gt; element.text.isXUsername() }&#13;\n .mapNotNull { element -&gt;&#13;\n element.boundingBox?.let { boundingBox -&gt;&#13;\n UsernameBox(element.text, boundingBox)&#13;\n }&#13;\n }&#13;\n<\/pre>\n<p>You converted the text blocks into lines, for each line you get the elements, and for each element, you filter those that are X usernames. Finally, you map them to <code>UsernameBox<\/code> which is a class that contains the username and the bounding box.<\/p>\n<p>The bounding box is used to draw rectangles over the username.<\/p>\n<p>Now, run the app again, choose a picture from your gallery, and you\u2019ll get the X usernames recognized:<\/p>\n<p><a href=\"https:\/\/files.koenig.kodeco.com\/uploads\/2025\/05\/xtractor-text-recognition.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/files.koenig.kodeco.com\/uploads\/2025\/05\/xtractor-text-recognition-650x293.png\" alt=\"Username recognition\" width=\"650\" height=\"293\" class=\"aligncenter size-large wp-image-324926 bordered\" srcset=\"https:\/\/files.koenig.kodeco.com\/uploads\/2025\/05\/xtractor-text-recognition-650x293.png 650w, https:\/\/files.koenig.kodeco.com\/uploads\/2025\/05\/xtractor-text-recognition-480x216.png 480w, https:\/\/files.koenig.kodeco.com\/uploads\/2025\/05\/xtractor-text-recognition.png 1200w\" sizes=\"auto, (max-width: 650px) 100vw, 650px\"\/><\/a><\/p>\n<p>Congratulations! You\u2019ve just learned how to use <em>Text Recognition<\/em>.<\/p>\n<\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>ML Kit is a mobile SDK from Google that uses machine learning to solve problems such as text recognition, text translation, object detection, face\/pose detection, and so much more! The APIs can run on-device, enabling you to process real-time use cases without sending data to servers. ML Kit provides two groups of APIs: Vision APIs: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":302067,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11768],"tags":[1046,559,24814,4796,836],"dealstore":[],"offerexpiration":[],"class_list":["post-302066","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-apple-2","tag-android","tag-kit","tag-recognition","tag-started","tag-text"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Text Recognition with ML Kit for Android: Getting Started - Som2ny Network<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/fivemor.com\/?p=302066\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Text Recognition with ML Kit for Android: Getting Started - Som2ny Network\" \/>\n<meta property=\"og:description\" content=\"ML Kit is a mobile SDK from Google that uses machine learning to solve problems such as text recognition, text translation, object detection, face\/pose detection, and so much more! The APIs can run on-device, enabling you to process real-time use cases without sending data to servers. ML Kit provides two groups of APIs: Vision APIs: [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/fivemor.com\/?p=302066\" \/>\n<meta property=\"og:site_name\" content=\"Som2ny Network\" \/>\n<meta property=\"article:published_time\" content=\"2025-06-19T17:51:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/06\/text_recognition_mlkit_x_post_twitter.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/fivemor.com\/?p=302066#article\",\"isPartOf\":{\"@id\":\"https:\/\/fivemor.com\/?p=302066\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\/\/fivemor.com\/#\/schema\/person\/b85e3c3dc0e1daea076524dc8810c371\"},\"headline\":\"Text Recognition with ML Kit for Android: Getting Started\",\"datePublished\":\"2025-06-19T17:51:41+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/fivemor.com\/?p=302066\"},\"wordCount\":1044,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/fivemor.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/fivemor.com\/?p=302066#primaryimage\"},\"thumbnailUrl\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/06\/text_recognition_mlkit_x_post_twitter.png\",\"keywords\":[\"Android\",\"Kit\",\"Recognition\",\"started\",\"TEXT\"],\"articleSection\":[\"Apple\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/fivemor.com\/?p=302066#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/fivemor.com\/?p=302066\",\"url\":\"https:\/\/fivemor.com\/?p=302066\",\"name\":\"Text Recognition with ML Kit for Android: Getting Started - Som2ny Network\",\"isPartOf\":{\"@id\":\"https:\/\/fivemor.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/fivemor.com\/?p=302066#primaryimage\"},\"image\":{\"@id\":\"https:\/\/fivemor.com\/?p=302066#primaryimage\"},\"thumbnailUrl\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/06\/text_recognition_mlkit_x_post_twitter.png\",\"datePublished\":\"2025-06-19T17:51:41+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/fivemor.com\/?p=302066#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/fivemor.com\/?p=302066\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/fivemor.com\/?p=302066#primaryimage\",\"url\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/06\/text_recognition_mlkit_x_post_twitter.png\",\"contentUrl\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/06\/text_recognition_mlkit_x_post_twitter.png\",\"width\":1200,\"height\":628},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/fivemor.com\/?p=302066#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/fivemor.com\/?bp_activities=1\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Text Recognition with ML Kit for Android: Getting Started\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/fivemor.com\/#website\",\"url\":\"https:\/\/fivemor.com\/\",\"name\":\"Som2ny Network\",\"description\":\"Daily Deals\",\"publisher\":{\"@id\":\"https:\/\/fivemor.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/fivemor.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/fivemor.com\/#organization\",\"name\":\"Som2ny Network\",\"url\":\"https:\/\/fivemor.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/fivemor.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2026\/07\/4a0953c4-logo-300x86-1.png\",\"contentUrl\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2026\/07\/4a0953c4-logo-300x86-1.png\",\"width\":300,\"height\":86,\"caption\":\"Som2ny Network\"},\"image\":{\"@id\":\"https:\/\/fivemor.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/fivemor.com\/#\/schema\/person\/b85e3c3dc0e1daea076524dc8810c371\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/fivemor.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/729ae85bf62b9917e93538db2f2688ca?s=96&r=g&default=https%3A%2F%2Ffivemor.com%2Fwp-content%2Fplugins%2Fbuddypress-first-letter-avatar%2Fimages%2Fdefault%2F96%2Flatin_a.png\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/729ae85bf62b9917e93538db2f2688ca?s=96&r=g&default=https%3A%2F%2Ffivemor.com%2Fwp-content%2Fplugins%2Fbuddypress-first-letter-avatar%2Fimages%2Fdefault%2F96%2Flatin_a.png\",\"caption\":\"admin\"},\"sameAs\":[\"https:\/\/fivemor.com\"],\"url\":\"https:\/\/fivemor.com\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Text Recognition with ML Kit for Android: Getting Started - Som2ny Network","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/fivemor.com\/?p=302066","og_locale":"en_US","og_type":"article","og_title":"Text Recognition with ML Kit for Android: Getting Started - Som2ny Network","og_description":"ML Kit is a mobile SDK from Google that uses machine learning to solve problems such as text recognition, text translation, object detection, face\/pose detection, and so much more! The APIs can run on-device, enabling you to process real-time use cases without sending data to servers. ML Kit provides two groups of APIs: Vision APIs: [&hellip;]","og_url":"https:\/\/fivemor.com\/?p=302066","og_site_name":"Som2ny Network","article_published_time":"2025-06-19T17:51:41+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/06\/text_recognition_mlkit_x_post_twitter.png","type":"image\/png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/fivemor.com\/?p=302066#article","isPartOf":{"@id":"https:\/\/fivemor.com\/?p=302066"},"author":{"name":"admin","@id":"https:\/\/fivemor.com\/#\/schema\/person\/b85e3c3dc0e1daea076524dc8810c371"},"headline":"Text Recognition with ML Kit for Android: Getting Started","datePublished":"2025-06-19T17:51:41+00:00","mainEntityOfPage":{"@id":"https:\/\/fivemor.com\/?p=302066"},"wordCount":1044,"commentCount":0,"publisher":{"@id":"https:\/\/fivemor.com\/#organization"},"image":{"@id":"https:\/\/fivemor.com\/?p=302066#primaryimage"},"thumbnailUrl":"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/06\/text_recognition_mlkit_x_post_twitter.png","keywords":["Android","Kit","Recognition","started","TEXT"],"articleSection":["Apple"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/fivemor.com\/?p=302066#respond"]}]},{"@type":"WebPage","@id":"https:\/\/fivemor.com\/?p=302066","url":"https:\/\/fivemor.com\/?p=302066","name":"Text Recognition with ML Kit for Android: Getting Started - Som2ny Network","isPartOf":{"@id":"https:\/\/fivemor.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/fivemor.com\/?p=302066#primaryimage"},"image":{"@id":"https:\/\/fivemor.com\/?p=302066#primaryimage"},"thumbnailUrl":"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/06\/text_recognition_mlkit_x_post_twitter.png","datePublished":"2025-06-19T17:51:41+00:00","breadcrumb":{"@id":"https:\/\/fivemor.com\/?p=302066#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/fivemor.com\/?p=302066"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/fivemor.com\/?p=302066#primaryimage","url":"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/06\/text_recognition_mlkit_x_post_twitter.png","contentUrl":"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/06\/text_recognition_mlkit_x_post_twitter.png","width":1200,"height":628},{"@type":"BreadcrumbList","@id":"https:\/\/fivemor.com\/?p=302066#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/fivemor.com\/?bp_activities=1"},{"@type":"ListItem","position":2,"name":"Text Recognition with ML Kit for Android: Getting Started"}]},{"@type":"WebSite","@id":"https:\/\/fivemor.com\/#website","url":"https:\/\/fivemor.com\/","name":"Som2ny Network","description":"Daily Deals","publisher":{"@id":"https:\/\/fivemor.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/fivemor.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/fivemor.com\/#organization","name":"Som2ny Network","url":"https:\/\/fivemor.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/fivemor.com\/#\/schema\/logo\/image\/","url":"https:\/\/fivemor.com\/wp-content\/uploads\/2026\/07\/4a0953c4-logo-300x86-1.png","contentUrl":"https:\/\/fivemor.com\/wp-content\/uploads\/2026\/07\/4a0953c4-logo-300x86-1.png","width":300,"height":86,"caption":"Som2ny Network"},"image":{"@id":"https:\/\/fivemor.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/fivemor.com\/#\/schema\/person\/b85e3c3dc0e1daea076524dc8810c371","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/fivemor.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/729ae85bf62b9917e93538db2f2688ca?s=96&r=g&default=https%3A%2F%2Ffivemor.com%2Fwp-content%2Fplugins%2Fbuddypress-first-letter-avatar%2Fimages%2Fdefault%2F96%2Flatin_a.png","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/729ae85bf62b9917e93538db2f2688ca?s=96&r=g&default=https%3A%2F%2Ffivemor.com%2Fwp-content%2Fplugins%2Fbuddypress-first-letter-avatar%2Fimages%2Fdefault%2F96%2Flatin_a.png","caption":"admin"},"sameAs":["https:\/\/fivemor.com"],"url":"https:\/\/fivemor.com\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/posts\/302066","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=302066"}],"version-history":[{"count":0,"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/posts\/302066\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/media\/302067"}],"wp:attachment":[{"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=302066"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=302066"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=302066"},{"taxonomy":"dealstore","embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fdealstore&post=302066"},{"taxonomy":"offerexpiration","embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fofferexpiration&post=302066"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}