=== Ming's OCR Scanner ===
Contributors: v20202020
Tags: ocr, tesseract, document scanner, text recognition, webhook, forms, ai
Requires at least: 6.6
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Scan documents using Tesseract.js or server-side Tesseract OCR, extract text, convert it into structured JSON, save scanned data to WordPress, or send it to a webhook.

== Description ==

Ming's OCR Scanner lets users scan printed documents directly from a browser or upload an image for OCR processing.

The plugin supports both browser-based OCR using Tesseract.js and server-side OCR using the Tesseract executable. Extracted text can be saved into the WordPress database or sent to an external application through a webhook.

Features include:

* Browser-based OCR powered by Tesseract.js
* Optional server-side OCR using Tesseract
* Image upload support
* Automatic document detection
* Convert OCR text into structured JSON
* Save scan history in WordPress
* Send OCR results to any webhook
* REST API for custom integrations
* Mobile-friendly scanning interface

Perfect for:

* Registration forms
* Receipts
* Invoices
* Business cards
* Paper forms
* Printed documents

== Installation ==

1. Upload the plugin to the "/wp-content/plugins/" directory, or install it through the WordPress Plugins screen.
2. Activate the plugin.
3. Open "Mings OCR Scanner" from the WordPress admin menu.
4. Choose your OCR engine:
   * Tesseract.js (browser-based)
   * Server-side Tesseract
5. Configure your webhook or scan history options if desired.

== Frequently Asked Questions ==

= Does this plugin require Tesseract to be installed? =

No.

You can use tesseract.min.js entirely inside the browser without installing anything on your server.

If you prefer server-side OCR, install the Tesseract executable on your server and configure its path in the plugin settings. Here is the download link: https://tesseract-ocr.github.io/tessdoc/Installation.html

= Does it work on mobile phones? =

Yes. Just open your WordPress website installed with this plugin. Go to dashboard, then go to this plugin's admin page.

= Can OCR results be saved? =

Yes. Scanned text can be stored in the WordPress database for later viewing. Later you can export it as csv files.

= Can I send OCR results to another application? =

Yes. The plugin can send structured OCR results to any webhook endpoint.

= Which OCR engine is more accurate? =

Accuracy depends on document quality. Server-side Tesseract is generally faster and more suitable for large workloads, while tesseract.min.js requires no server installation and works entirely in the user's browser.

== Changelog ==
= 1.0.1 =
Added webhook bearer token.

= 1.0.0 =

* Initial release.
* Browser OCR using tesseract.min.js.
* Server-side Tesseract OCR.
* Image upload support.
* Automatic document detection.
* Structured JSON output.
* Scan history.
* Webhook integration.
* REST API support.

== Upgrade Notice ==

= 1.0.0 =

Initial release.