Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 1001 Bytes

README.md

File metadata and controls

35 lines (25 loc) · 1001 Bytes

opencvmini

Rust SDK for WasmEdge Plugin OpenCVMini

Usage

Add dependency into Cargo.toml

opencvmini = "*"

then you can use this crate

use opencvmini::*;

Dependencies

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.