Browse Source

Update example and remove repeated files

pull/265/head
Jerome Wu 6 years ago
parent
commit
ce520007ec
  1. 2
      examples/node/basic.js
  2. BIN
      examples/node/cosmic.png
  3. 2
      examples/node/detect.js

2
examples/node/basic.js

@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
const path = require('path');
const { TesseractWorker } = require('../../');
const image = path.resolve(__dirname, 'cosmic.png');
const image = path.resolve(__dirname, '../../tests/assets/images/cosmic.png');
const tessWorker = new TesseractWorker();
tessWorker.recognize(image)

BIN
examples/node/cosmic.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

2
examples/node/detect.js

@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
const path = require('path');
const { TesseractWorker } = require('../../');
const image = path.resolve(__dirname, 'cosmic.png');
const image = path.resolve(__dirname, '../../tests/assets/images/cosmic.png');
const tessWorker = new TesseractWorker();
tessWorker.detect(image)

Loading…
Cancel
Save