dora-opencv-image-splitter
A dora-rs node to split one image into multiple images.
Usage
Inputs
| ID | Type | Metadata | Description |
|---|---|---|---|
image |
UInt8 Arrow array |
encoding, width, height |
Raw image as a flat array of shape H × W × channels |
Supported encodings: bgr8, rgb8, jpeg, jpg, jpe, bmp, webp, png.
Outputs
The outputs are dynamically named by index: image_0, image_1, ..., image_N-1.
| ID | Type | Metadata | Description |
|---|---|---|---|
image_N |
UInt8 Arrow array |
encoding, width, height |
JPEG-encoded sub-image cropped from the input image |
Each output carries the same metadata as the input, with encoding set to "jpeg" and width/height updated to the sub-image dimensions.
Configuration
The node can be configured via environment variables or command-line arguments:
| Environment variable | CLI argument | Default | Description |
|---|---|---|---|
SPLIT_MODE |
--split-mode |
"vertical" |
Split strategy: "horizontal" (rows), "vertical" (columns), or "bbox" |
NUM_SPLITS |
--num-splits |
2 |
Number of equal splits for horizontal/vertical mode |
JPEG_QUALITY |
--jpeg-quality |
90 |
JPEG quality for output encoding, 0–100 |
IMAGE_WIDTH |
--image-width |
640 |
Fallback image width when metadata is absent |
IMAGE_HEIGHT |
--image-height |
480 |
Fallback image height when metadata is absent |
IMAGE_ENCODING |
--image-encoding |
(none) | Fallback image encoding when metadata is absent |
BBOXES |
--bboxes |
(none) | Bounding boxes for bbox mode as a flat list: x1 y1 x2 y2 ... |
Example dataflow
See example/dataflow.yaml for an example that splits a camera image into two vertical halves and displays each half separately.
License
Licensed under the Apache License 2.0. See LICENSE for details.
Copyright 2026 Enactic, Inc.
Code of Conduct
All participation in the OpenArm project is governed by our Code of Conduct.
Metadata
Release files for dora-opencv-image-splitter 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dora_opencv_image_splitter-0.1.0.tar.gz | 8.7 kB | Details |
Release files / dora_opencv_image_splitter-0.1.0.tar.gz
| Download URL | dora_opencv_image_splitter-0.1.0.tar.gz |
|---|---|
| Size | 8.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e13fab657e9e2019eb4e47b413d19a8255db7443a68eb5a4244d72873363e25e
|
|
BLAKE2b-256 checksum How to use checksums |
ed77421b9049cfe442b515580345be8570154e5a3f19a393540a71b1e187ae3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 30, 2026.
Transparency log