diff --git a/examples/node/basic.js b/examples/node/basic.js index ee0d69c..515bdb1 100644 --- a/examples/node/basic.js +++ b/examples/node/basic.js @@ -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) diff --git a/examples/node/cosmic.png b/examples/node/cosmic.png deleted file mode 100644 index b78d9da..0000000 Binary files a/examples/node/cosmic.png and /dev/null differ diff --git a/examples/node/detect.js b/examples/node/detect.js index b2e948a..c85bbd2 100644 --- a/examples/node/detect.js +++ b/examples/node/detect.js @@ -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)