wasi
The source code is ported from https://github.com/nu-book/zxing-cpp.
mkdir build
cd build
cmake ..
cmake --build .
Run zxing_barcode_reader.wasm
:
wasmer run zxing_barcode_reader.wasm --dir=<image folder> <image file>
wasmtime zxing_barcode_reader.wasm --dir=<image folder> <image file>