lenna_core 0.1.8

Lenna is a library for image processing algorithms and apps.
Documentation

lenna-core

build Crates.io dependency status

Lenna is a library for image processing algorithms and apps.

This is the core library for lenna.

quickstart

cargo build

run tests

cargo test
cargo test --features=python
wasm-pack test --node

Build

create plugins

use lenna_core::core::processor::Processor;
use lenna_core::plugins::PluginRegistrar;

lenna_core::export_plugin!(register);

extern "C" fn register(registrar: &mut dyn PluginRegistrar) {
    registrar.add_plugin(Box::new(Plugin));
}

pub struct Plugin;

🐍 build python bindings

Create a virtual environment for python and install lenna-core using pip.

virtualenv -p python3 .venv
source .venv/bin/activate
pip install .
python src/plugins/python/test.py
import lenna_core_py
print(lenna_core_py.Resize.description())

🌏 Language Support

Rust JavaScript Python C++ WASM
Yes Yes Yes No Yes

📜 License

This software is licensed under the MIT © lenna-project.