svelte-tesseract
TypeScript icon, indicating that this package has built-in type declarations

0.2.3 • Public • Published

Svelte-Tesseract

  • A wrapper for tesseract.js for usage with svelte.

  • Simple OCR / text-recognition in any svelte app.

Alpha

this is still in its earliest development and might not work yet.

Usage

this library exposes a tesseract store that can be used like any other svelte store.

///import tesseract store 
import {image, result, allText} from 'svelte-tesseract';

/// loading a new image
image.set(tesseract_imagelike);
<h1>{$allText}</h1>

/svelte-tesseract/

    Package Sidebar

    Install

    npm i svelte-tesseract

    Weekly Downloads

    1

    Version

    0.2.3

    License

    none

    Unpacked Size

    4.06 kB

    Total Files

    4

    Last publish

    Collaborators

    • hannesgith