I'm testing akaze from the cv crate with rustwasm. I'ts a work in progress, you can test it locally for now.
If you want to test locally on your machine just run:
cd www
npm install
and run a local server. If you make changes, you need to install wasm-pack:
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
run the 🛠️ wasm-pack build
command and then the steps below:
cd www
npm install
and run a local server.
Check the live example
wasm-bindgen
for communicating
between WebAssembly and JavaScript.console_error_panic_hook
for logging panic messages to the developer console.wee_alloc
, an allocator optimized
for small code size.