{"id":128,"date":"2024-03-26T04:11:00","date_gmt":"2024-03-26T04:11:00","guid":{"rendered":"https:\/\/akshatdeveloper.in\/extensions\/?p=128"},"modified":"2024-03-30T04:24:48","modified_gmt":"2024-03-30T04:24:48","slug":"document-scanner-paid","status":"publish","type":"post","link":"https:\/\/akshatdeveloper.in\/extensions\/paid\/document-scanner-paid\/","title":{"rendered":"Document Scanner (Paid)"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Overview<\/h2>\n\n\n\n<p>DocScanner is an extension for AppInventor that brings advanced document scanning capabilities to your Android applications. With DocScanner, you can easily integrate a document scanner feature with powerful AI functionalities. This documentation provides an in-depth guide on using the DocScanner extension, including its features, methods, properties, and events.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Features<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"847\" height=\"632\" src=\"https:\/\/akshatdeveloper.in\/extensions\/wp-content\/uploads\/2024\/03\/image-5.png\" alt=\"\" class=\"wp-image-134\" srcset=\"https:\/\/akshatdeveloper.in\/extensions\/wp-content\/uploads\/2024\/03\/image-5.png 847w, https:\/\/akshatdeveloper.in\/extensions\/wp-content\/uploads\/2024\/03\/image-5-300x224.png 300w, https:\/\/akshatdeveloper.in\/extensions\/wp-content\/uploads\/2024\/03\/image-5-768x573.png 768w\" sizes=\"(max-width: 847px) 100vw, 847px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>High-quality User Interface:<\/strong> Provides a consistent and user-friendly interface for digitizing physical documents.<\/li>\n\n\n\n<li><strong>Automatic Capture:<\/strong> Automatically detects documents for quick and efficient scanning.<\/li>\n\n\n\n<li><strong>Accurate Edge Detection:<\/strong> Ensures optimal cropping results by accurately detecting document edges.<\/li>\n\n\n\n<li><strong>Automatic Rotation Detection:<\/strong> Automatically adjusts document orientation for proper viewing.<\/li>\n\n\n\n<li><strong>Editing Functionalities:<\/strong> Offers various editing tools such as cropping, applying filters, removing shadows, and cleaning stains.<\/li>\n\n\n\n<li><strong>On-Device Processing:<\/strong> All processing is performed locally on the device, preserving user privacy.<\/li>\n\n\n\n<li><strong>No Camera Permission Required:<\/strong> Your app does not need camera permissions to utilize DocScanner.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><th>Original picture<\/th><th>Scanned document with perspective corrected, wrinkle removed and grayscale filter applied<\/th><\/tr><tr><td><img decoding=\"async\" src=\"https:\/\/developers.google.com\/static\/ml-kit\/images\/vision\/doc-scanner\/example_wrinkle_angle_before.png\"><\/td><td><img decoding=\"async\" src=\"https:\/\/developers.google.com\/static\/ml-kit\/images\/vision\/doc-scanner\/example_wrinkle_angle_after.png\"><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><th>Original picture<\/th><th>Scanned document auto-rotated with stain removed and color filter applied<\/th><\/tr><tr><td><img decoding=\"async\" src=\"https:\/\/developers.google.com\/static\/ml-kit\/images\/vision\/doc-scanner\/example_stain_on_text_before.png\"><\/td><td><img decoding=\"async\" src=\"https:\/\/developers.google.com\/static\/ml-kit\/images\/vision\/doc-scanner\/example_stain_on_text_after.png\"><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><th>Original picture<\/th><th>Scanned document with stain removed and auto filter applied<\/th><\/tr><tr><td><img decoding=\"async\" src=\"https:\/\/developers.google.com\/static\/ml-kit\/images\/vision\/doc-scanner\/example_stain_before.png\"><\/td><td><img decoding=\"async\" src=\"https:\/\/developers.google.com\/static\/ml-kit\/images\/vision\/doc-scanner\/example_stain_after.png\"><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><th>Original picture<\/th><th>Scanned document auto-rotated with shadow removed and auto filter applied<\/th><\/tr><tr><td><img decoding=\"async\" src=\"https:\/\/developers.google.com\/static\/ml-kit\/images\/vision\/doc-scanner\/example_shadow_before.png\"><\/td><td><img decoding=\"async\" src=\"https:\/\/developers.google.com\/static\/ml-kit\/images\/vision\/doc-scanner\/example_shadow_after.png\"><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><th>Original picture<\/th><th>Scanned document auto-rotated with finger removed and auto filter applied<\/th><\/tr><tr><td><img decoding=\"async\" src=\"https:\/\/developers.google.com\/static\/ml-kit\/images\/vision\/doc-scanner\/example_finger_before.png\"><\/td><td><img decoding=\"async\" src=\"https:\/\/developers.google.com\/static\/ml-kit\/images\/vision\/doc-scanner\/example_finger_after.png\"><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Blocks<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"381\" height=\"701\" src=\"https:\/\/akshatdeveloper.in\/extensions\/wp-content\/uploads\/2024\/03\/image_2024-03-30_094621566.png\" alt=\"\" class=\"wp-image-140\" srcset=\"https:\/\/akshatdeveloper.in\/extensions\/wp-content\/uploads\/2024\/03\/image_2024-03-30_094621566.png 381w, https:\/\/akshatdeveloper.in\/extensions\/wp-content\/uploads\/2024\/03\/image_2024-03-30_094621566-163x300.png 163w\" sizes=\"(max-width: 381px) 100vw, 381px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"372\" height=\"390\" src=\"https:\/\/akshatdeveloper.in\/extensions\/wp-content\/uploads\/2024\/03\/image_2024-03-30_094656184.png\" alt=\"\" class=\"wp-image-142\" srcset=\"https:\/\/akshatdeveloper.in\/extensions\/wp-content\/uploads\/2024\/03\/image_2024-03-30_094656184.png 372w, https:\/\/akshatdeveloper.in\/extensions\/wp-content\/uploads\/2024\/03\/image_2024-03-30_094656184-286x300.png 286w\" sizes=\"(max-width: 372px) 100vw, 372px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/drive.google.com\/file\/d\/1U5l3gJFnh_QlsGkX3nx8_eR5p0rqHL4j\/view?usp=sharing\" target=\"_blank\" rel=\"noopener\">Demo Video<\/a><\/div>\n<\/div>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Methods<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">1. Scan<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Description:<\/strong> Opens the Document Scanner interface.<\/li>\n\n\n\n<li><strong>Parameters:<\/strong> None<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">2. Share<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Description:<\/strong> Share the provided file.<\/li>\n\n\n\n<li><strong>Parameters:<\/strong>\n<ul class=\"wp-block-list\">\n<li>file (text): The the path of file to share.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">3. ClearCache<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Description:<\/strong> Clears cache of scanned images.<\/li>\n\n\n\n<li><strong>Parameters:<\/strong> None<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Properties<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">1. GalleryImportAllowed<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Description:<\/strong> Returns whether the user can select images from the gallery during scanning.<\/li>\n\n\n\n<li><strong>Type:<\/strong> Boolean (Read-Write)<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">2. PageLimit<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Description:<\/strong> Sets the maximum number of pages in the scanned document.<\/li>\n\n\n\n<li><strong>Type:<\/strong> Number (Read-Write)<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">3. ResultFormat<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Description:<\/strong> Sets the result format of the Document Scanner (JPEG, PDF, or Both).<\/li>\n\n\n\n<li><strong>Type:<\/strong> Text (Read-Write)<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">4. ScannerMode<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Description:<\/strong> Sets the mode used by the scanner (Basic, Basic with Filter, Full).<\/li>\n\n\n\n<li><strong>Type:<\/strong> Text (Read-Write)<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Events<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">1. ScanningError<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Description:<\/strong> Triggered when an error occurs during scanning.<\/li>\n\n\n\n<li><strong>Parameters:<\/strong>\n<ul class=\"wp-block-list\">\n<li><code>errorMessage<\/code> (Text): The error message.<\/li>\n\n\n\n<li><code>logs<\/code> (Text): Additional logs for debugging.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">2. ScanningResult<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Description:<\/strong> Triggered when document scanning is successful.<\/li>\n\n\n\n<li><strong>Parameters:<\/strong>\n<ul class=\"wp-block-list\">\n<li><code>pageCount<\/code> (Number): Number of scanned pages.<\/li>\n\n\n\n<li><code>pages<\/code> (List): List of scanned pages.<\/li>\n\n\n\n<li><code>pdfUri<\/code> (Text): URI of the generated PDF file.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">3. ScanningCancelled<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Description:<\/strong> Triggered when the user cancels the scanning process.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Example Usage<\/h2>\n\n\n\n<p>Here&#8217;s an example of how you can use the DocScanner extension in your project:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"839\" height=\"320\" src=\"https:\/\/akshatdeveloper.in\/extensions\/wp-content\/uploads\/2024\/03\/image-4.png\" alt=\"\" class=\"wp-image-133\" srcset=\"https:\/\/akshatdeveloper.in\/extensions\/wp-content\/uploads\/2024\/03\/image-4.png 839w, https:\/\/akshatdeveloper.in\/extensions\/wp-content\/uploads\/2024\/03\/image-4-300x114.png 300w, https:\/\/akshatdeveloper.in\/extensions\/wp-content\/uploads\/2024\/03\/image-4-768x293.png 768w\" sizes=\"(max-width: 839px) 100vw, 839px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Changelogs<\/h2>\n\n\n\n<p>Will be updated.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Pricing<\/h2>\n\n\n\n<p>Before considering to buy this extension make sure that you have read and agreed to&nbsp;<a href=\"https:\/\/akshatdeveloper.in\/extension-buying-policy\/\" data-type=\"link\" data-id=\"https:\/\/akshatdeveloper.in\/extension-buying-policy\/\">Extension Buying Policy<\/a>. If not, please refrain to buy this extension<\/p>\n\n\n\n<p>799 INR or 10 USD<\/p>\n\n\n\n<p>DM me in the community or in <a href=\"https:\/\/t.me\/akshattrana\" data-type=\"link\" data-id=\"https:\/\/t.me\/akshattrana\" target=\"_blank\">telegram <\/a>to buy.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This extension helps you to add document scanner feature to your app.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[10],"tags":[5,29,4,12],"class_list":["post-128","post","type-post","status-publish","format-standard","hentry","category-paid","tag-akshat-developer-extensions","tag-document-scanner","tag-extension","tag-paid"],"_links":{"self":[{"href":"https:\/\/akshatdeveloper.in\/extensions\/wp-json\/wp\/v2\/posts\/128"}],"collection":[{"href":"https:\/\/akshatdeveloper.in\/extensions\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/akshatdeveloper.in\/extensions\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/akshatdeveloper.in\/extensions\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/akshatdeveloper.in\/extensions\/wp-json\/wp\/v2\/comments?post=128"}],"version-history":[{"count":8,"href":"https:\/\/akshatdeveloper.in\/extensions\/wp-json\/wp\/v2\/posts\/128\/revisions"}],"predecessor-version":[{"id":143,"href":"https:\/\/akshatdeveloper.in\/extensions\/wp-json\/wp\/v2\/posts\/128\/revisions\/143"}],"wp:attachment":[{"href":"https:\/\/akshatdeveloper.in\/extensions\/wp-json\/wp\/v2\/media?parent=128"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/akshatdeveloper.in\/extensions\/wp-json\/wp\/v2\/categories?post=128"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/akshatdeveloper.in\/extensions\/wp-json\/wp\/v2\/tags?post=128"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}