Relocate the build outputs and examples for the WASM build under js/dist. This is needed so that js/ can serve as the root of an npm package with its own README.
It is now possible to run the WASM build again by first runing the ocrs CLI tool to download models, and then running:
make wasm
node js/examples/ocr-node/index.js ~/.cache/ocrs/text-detection.rten ~/.cache/ocrs/text-recognition.rten ocrs-cli/test-data/why-rust.png
Relocate the build outputs and examples for the WASM build under
js/dist
. This is needed so thatjs/
can serve as the root of an npm package with its own README.It is now possible to run the WASM build again by first runing the
ocrs
CLI tool to download models, and then running: