MCPcopy Create free account
hub / github.com/creatale/node-dv

github.com/creatale/node-dv @v2.2.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.2.0 ↗ · + Follow
15,889 symbols 54,718 edges 1,068 files 6,385 documented · 40% updated 3y ago★ 34010 open issues

Browse by type

Functions 13,842 Types & classes 2,047
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

DocumentVision NPM version Build Status Windows Build status devDependency Status

DocumentVision is a node.js library for processing and understanding scanned documents.

Features

Installation

$ npm install dv

Quick Start

Once you've installed, download that image. You can use any other image containing simple text at 300dpi or higher. Now run the following code snippet to recognize text from your image:

var dv = require('dv');
var fs = require('fs');
var image = new dv.Image('png', fs.readFileSync('textpage300.png'));
var tesseract = new dv.Tesseract('eng', image);
console.log(tesseract.findText('plain'));

What's next?

Here are some quick links to help you get started:

Versioning

DocumentVision is maintained under the Semantic Versioning guidelines as much as possible:

  • Version number format is <major>.<minor>.<patch>
  • Breaking backward compatibility bumps the major (resetting minor and patch)
  • New additions without breaking backward compatibility bumps the minor (resetting patch)
  • Bug fixes and other changes bumps the patch

License

Licensed under the MIT License. See LICENSE.

External libraries are licensed under their respective licenses.

Core symbols most depended-on inside this repo

Shape

Method 7,128
Function 6,714
Class 1,937
Enum 110

Languages

C++77%
C22%
Python1%
TypeScript1%

Modules by API surface

deps/tesseract/ccutil/tesscallback.h786 symbols
deps/opencv/modules/core/src/gl_core_3_1.cpp281 symbols
deps/opencv/modules/core/src/arithm.cpp244 symbols
deps/opencv/modules/core/include/opencv2/core/operations.hpp232 symbols
deps/lodepng/lodepng.cpp224 symbols
deps/opencv/modules/imgproc/src/color.cpp186 symbols
deps/leptonica/src/dwacomblow.2.c153 symbols
deps/opencv/modules/core/src/persistence.cpp140 symbols
deps/tesseract/api/capi.cpp124 symbols
deps/opencv/modules/dynamicuda/include/opencv2/dynamicuda/dynamicuda.hpp122 symbols
deps/opencv/modules/imgproc/src/imgwarp.cpp118 symbols
deps/leptonica/src/fmorphgenlow.1.c117 symbols

For agents

$ claude mcp add node-dv \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page