AI-Parrot Pipelines
ai-parrot-pipelines provides planogram compliance and vision workflows for AI-Parrot agents.
Installation
pip install ai-parrot-pipelines
Install the optional local-OCR dependencies when needed:
pip install "ai-parrot-pipelines[planogram]"
Features
- Planogram Compliance — a perceive → identify → compare cycle for six types
- Layout Profiles — validated, per-type geometry and identification settings
- Optional Local OCR — RapidOCR is auto-detected when the
planogramextra is installed - Migration Utility — converts and preflights six planogram configuration types
Available Pipelines
| Pipeline/type | Description |
|---|---|
PlanogramCompliance |
Planogram compliance pipeline |
ProductOnShelves |
Product-facing shelves |
InkWall |
Price-tag-anchored ink walls |
EndcapBacklitMultitier |
Multi-tier endcaps |
EndcapNoShelvesPromotional |
Zone-based promotional endcaps |
GraphicPanelDisplay |
Zone-only graphic panels |
ProductCounter |
Product and zone counters |
Quick Start
from parrot_pipelines.planogram.plan import PlanogramCompliance
from parrot_pipelines.models import PlanogramConfig
config = PlanogramConfig(
config_name="example",
planogram_type="product_on_shelves",
planogram_config={},
slots_definition={
"version": "1",
"shelves": [
{
"shelf_id": "shelf_1",
"shelf_number": 1,
"facings": [
{
"facing_id": "facing_1",
"shelf_id": "shelf_1",
"slot": 1,
"product": "example_product",
"descriptors": {"display_name": "Example product"},
}
],
}
],
"zones": [],
},
)
pipeline = PlanogramCompliance(planogram_config=config, llm="openai:gpt-4o-mini")
result = await pipeline.run("shelf_photo.jpg")
Provide a complete, validated slots definition and rule bindings before a production run. See the cycle reference and the migration runbook.
Dependencies
- Python >= 3.11
- ai-parrot >= 0.24.2
- opencv-python-headless >= 4.8
- Optional
planogramextra:rapidocrandonnxruntime
1.1.0 breaking changes
The removed detector APIs and required configuration migration are documented in the migration runbook.
License
MIT
Metadata
Release files for ai-parrot-pipelines 1.2.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 | |
|---|---|---|---|
| ai_parrot_pipelines-1.2.0.tar.gz | 133.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ai_parrot_pipelines-1.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 296.4 kB
Release files / ai_parrot_pipelines-1.2.0.tar.gz
| Download URL | ai_parrot_pipelines-1.2.0.tar.gz |
|---|---|
| Size | 133.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
81f4d573d172ad0dd0e64937294c3434efe986e9ec56323cca6d7e336eaa6859
|
|
BLAKE2b-256 checksum How to use checksums |
fe2708efc97d4edbbbaa3b0487c40a925f013748e49de4375e5ea2317b39c975
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 2, 2026.
Transparency logRelease files / ai_parrot_pipelines-1.2.0-py3-none-any.whl
| Download URL | ai_parrot_pipelines-1.2.0-py3-none-any.whl |
|---|---|
| Size | 163.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bc660ff58395caace549675a66e02d0c5aa2a424966b5b4c20595f98949c6171
|
|
BLAKE2b-256 checksum How to use checksums |
9c88937d9de720f70eff76fa29ee50a2a5bfc03182939980d6260d1938b3b76e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 2, 2026.
Transparency log