Lenna is a library for image processing algorithms and apps.
This is the core library for lenna.
sh
cargo build
sh
cargo test
cargo test --features=python
wasm-pack test --node
```rust use lennacore::core::processor::Processor; use lennacore::plugins::PluginRegistrar;
lennacore::exportplugin!(register);
extern "C" fn register(registrar: &mut dyn PluginRegistrar) { registrar.add_plugin(Box::new(Plugin)); }
pub struct Plugin; ```
Create a virtual environment for python and install lenna-core using pip.
bash
virtualenv -p python3 .venv
source .venv/bin/activate
pip install .
python src/plugins/python/test.py
python
import lenna_core_py
print(lenna_core_py.Resize.description())
| Rust |
JavaScript |
Python |
C++ |
WASM |
| :---------: | :---------: | :---------: | :---------: | :---------: |
| Yes | Yes | Yes | No | Yes |
This software is licensed under the MIT © lenna-project.