https://github.com/kalwalt/wasm-akaze-example
A simple test to build a Wasm example with akaze and Rust
https://github.com/kalwalt/wasm-akaze-example
akaze cv rust wasm wasm-akaze webar
Last synced: 3 months ago
JSON representation
A simple test to build a Wasm example with akaze and Rust
- Host: GitHub
- URL: https://github.com/kalwalt/wasm-akaze-example
- Owner: kalwalt
- License: apache-2.0
- Created: 2021-03-15T11:47:19.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-06-28T19:54:17.000Z (almost 2 years ago)
- Last Synced: 2025-01-18T07:11:47.218Z (5 months ago)
- Topics: akaze, cv, rust, wasm, wasm-akaze, webar
- Language: JavaScript
- Homepage: https://kalwalt.github.io/wasm-akaze-example/www/
- Size: 1.03 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE_APACHE
Awesome Lists containing this project
README
# WASM AKAZE EXAMPLE
I'm testing akaze from the [cv crate](https://github.com/rust-cv/cv) with rustwasm. I'ts a work in progress, you can test it locally for now.
## Instructions
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](https://rustwasm.github.io/wasm-pack/installer/):`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.
## Live example
Check the live [example](https://kalwalt.github.io/wasm-akaze-example/www)## 🔋 Batteries Included
* [`wasm-bindgen`](https://github.com/rustwasm/wasm-bindgen) for communicating
between WebAssembly and JavaScript.
* [`console_error_panic_hook`](https://github.com/rustwasm/console_error_panic_hook)
for logging panic messages to the developer console.
* [`wee_alloc`](https://github.com/rustwasm/wee_alloc), an allocator optimized
for small code size.
* image
* imageproc
* rust-cv
* web-sys