https://github.com/second-state/opencvmini
Rust SDK for WasmEdge Plugin OpenCVMini
https://github.com/second-state/opencvmini
Last synced: 29 days ago
JSON representation
Rust SDK for WasmEdge Plugin OpenCVMini
- Host: GitHub
- URL: https://github.com/second-state/opencvmini
- Owner: second-state
- License: apache-2.0
- Created: 2023-07-21T06:58:41.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-05T09:46:17.000Z (almost 3 years ago)
- Last Synced: 2025-10-10T02:44:01.374Z (10 months ago)
- Language: Rust
- Homepage: https://crates.io/crates/opencvmini
- Size: 5.58 MB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# opencvmini
Rust SDK for WasmEdge Plugin [OpenCVMini](https://github.com/WasmEdge/WasmEdge/tree/master/plugins/wasmedge_opencvmini)
## Usage
Add dependency into `Cargo.toml`
```toml
opencvmini = "*"
```
then you can use this crate
```rust
use opencvmini::*;
```
## Dependencies
[opencvmini](https://github.com/WasmEdge/WasmEdge/tree/master/plugins/wasmedge_opencvmini) is a wasmedge plugin, you might like to clone repository [WasmEdge](https://github.com/WasmEdge/WasmEdge), and run the following commands to install this plugin.
```shell
# 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](https://github.com/second-state/witc#installation) to get it.