Rust SDK for WasmEdge Plugin OpenCVMini
Add dependency into Cargo.toml
opencvmini = "*"
then you can use this crate
use opencvmini::*;
opencvmini is a wasmedge plugin, you might like to clone repository WasmEdge, and run the following commands to install this plugin.
# In repository wasmedge
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release -DWASMEDGE_BUILD_PLUGINS=ON \
-DWASMEDGE_PLUGIN_OPENCVMINI=ON \
-DWASMEDGE_PLUGIN_TENSORFLOWLITE=ON \
-DWASMEDGE_PLUGIN_IMAGE=ON \
-GNinja ..
ninja
ninja install # might need `sudo`
You also need command-line tool witc
to generate code from WIT format, please refer to installation section to get it.