Skip to content

API Reference parrot_pipelines.planogram.types.graphic_panel_display

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

parrot_pipelines.planogram.types.graphic_panel_display

View source

GraphicPanelDisplay — zone-only graphic/signage panels on the shared cycle (FEAT-612).

Compliance is decided from configured zones only: their presence, text and illumination, observed as neutral evidence during identification. There is no product counting and no fact-tag path.

Alias AbstractPlanogramType

Re-exported from parrot_pipelines.planogram.types.abstract.AbstractPlanogramType.

Alias AnchorRule

Re-exported from parrot_pipelines.planogram.perception.slots.AnchorRule.

Alias ComparisonResult

Re-exported from parrot_pipelines.planogram.contracts.ComparisonResult.

Alias CycleContext

Re-exported from parrot_pipelines.planogram.contracts.CycleContext.

Class GraphicPanelDisplay

Zone-only graphic panel: presence, text and illumination of configured zones.

The legacy per-type illumination penalty (1.0) is no longer a code default: migrated rows carry it as RuleBinding.params["penalty"] (emitted by the config converter).

Attributes:

Attribute Type Description
requires_slots_definition bool
uses_enhanced_image bool
min_usable_shapes int

Method GraphicPanelDisplay.default_layout_profile

Zone profiles only, shape-is-slot, full image, CV first, threshold 1 (spec §2 defaults table).

default_layout_profile() -> LayoutProfile

Returns: LayoutProfile — A fresh profile with no product/fact-tag profiles and no retailer data.

Method GraphicPanelDisplay.perceive

Shared CV perception (zones) with ctx.layout.

perceive(image: Image.Image, image_id: str, ctx: CycleContext) -> PerceptionResult

Parameter Type Default Description
image Image.Image
image_id str
ctx CycleContext

Returns: PerceptionResult

Method GraphicPanelDisplay.identify

Shared zone OCR/vision identification plus neutral text/illumination/presence evidence.

identify(image: Image.Image, perception: PerceptionResult, ctx: CycleContext) -> IdentificationResult

Parameter Type Default Description
image Image.Image
perception PerceptionResult
ctx CycleContext

Returns: IdentificationResult

Method GraphicPanelDisplay.compare

Deterministic zone-only comparison; no provider call.

compare(perceptions: Sequence[PerceptionResult], identifications: Sequence[IdentificationResult], ctx: CycleContext) -> ComparisonResult

Parameter Type Default Description
perceptions Sequence[PerceptionResult]
identifications Sequence[IdentificationResult]
ctx CycleContext

Returns: ComparisonResult

Alias IdentificationResult

Re-exported from parrot_pipelines.planogram.contracts.IdentificationResult.

Alias IdentifyStrategy

Re-exported from parrot_pipelines.planogram.contracts.IdentifyStrategy.

Alias LayoutProfile

Re-exported from parrot_pipelines.planogram.layout.LayoutProfile.

Alias PerceptionResult

Re-exported from parrot_pipelines.planogram.contracts.PerceptionResult.

Alias ReportingPolicy

Re-exported from parrot_pipelines.planogram.comparison.definition.ReportingPolicy.

Alias ShapeKind

Re-exported from parrot_pipelines.planogram.contracts.ShapeKind.

Alias ShapeProfile

Re-exported from parrot_pipelines.planogram.perception.profiles.ShapeProfile.

Alias compare_observations

Re-exported from parrot_pipelines.planogram.stages.compare.compare_observations.

Alias identify_image

Re-exported from parrot_pipelines.planogram.stages.identify.identify_image.

Alias perceive_image

Re-exported from parrot_pipelines.planogram.stages.perceive.perceive_image.

Alias resolve_layout_profile

Re-exported from parrot_pipelines.planogram.layout.resolve_layout_profile.

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