Skip to content

API Reference parrot_pipelines.planogram.perception.profiles

github-actions[bot] edited this page Dec 2, 2026 · 4 revisions

parrot_pipelines.planogram.perception.profiles

View source

Shape profiles: what the classical-CV proposer should look for (FEAT-574).

Attribute PRICE_TAG_PROFILE

Class ShapeCandidate

One proposed rectangle in SOURCE-image pixels.

Fields:

Field Type Default Description
profile str
kind str
x1 int
y1 int
x2 int
y2 int
score float

Class ShapeProfile

Geometric/photometric description of one kind of shape to propose.

All size bands are fractions of the evaluated image (width for widths, height for heights), so a profile is independent of the photo resolution.

Fields:

Field Type Default Description
name str
kind str ShapeKind value; a plain str so this module has no cycle-contract import
min_width float
max_width float
min_height float
max_height float
min_aspect float
max_aspect float
polarity Literal['bright', 'dark', 'edge']
min_rectangularity float 0.75
min_contrast_std float 25.0
thresholds Tuple[int, ...] (130, 150, 170, 190, 210, 230)
dedup_overlap float 0.5

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally