An open API service indexing awesome lists of open source software.

https://github.com/tony-xlh/Chat-with-Scanned-Documents

A demo chatting with documents scanned with Dynamic Web TWAIN
https://github.com/tony-xlh/Chat-with-Scanned-Documents

Last synced: 6 days ago
JSON representation

A demo chatting with documents scanned with Dynamic Web TWAIN

Awesome Lists containing this project

README

        

# Chat-with-Scanned-Documents

A demo of using Tesseract.js to extract text of documents scanned with [Dynamic Web TWAIN](https://www.dynamsoft.com/web-twain/overview/) and use LangChain to chat with them.

If the SDK expires, you need to apply for your license [here](https://www.dynamsoft.com/customer/license/trialLicense?product=dwt).

[Online demo](https://singular-chimera-686bc8.netlify.app/)

### Installation

```sh
npm install
```

### Start Dev Server

```sh
npm start
```

### Build Prod Version

```sh
npm run build
```

### Features:

- ES6 Support via [babel](https://babeljs.io/) (v7)
- JavaScript Linting via [eslint](https://eslint.org/)
- SASS Support via [sass-loader](https://github.com/jtangelder/sass-loader)
- Autoprefixing of browserspecific CSS rules via [postcss](https://postcss.org/) and [postcss-preset-env](https://github.com/csstools/postcss-preset-env)
- Style Linting via [stylelint](https://stylelint.io/)

When you run `npm run build` we use the [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) to move the css to a separate file. The css file gets included in the head of the `index.html`.