Warning This repository is moved to https://github.com/second-state/opencvmini/tree/main/example/object-detection
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`By the command:
cargo build --target wasm32-wasi --release
WASMEDGE_PLUGIN_PATH=/usr/local/lib/wasmedge/ wasmedge --dir ./. target/wasm32-wasi/release/plugin-example.wasm