Skip to content

API Reference parrot_pipelines.planogram.stages.identify

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

parrot_pipelines.planogram.stages.identify

View source

Shared stage 2: OCR, configured identification, and neutral rule evidence.

Alias CycleContext

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

Alias IdentificationResult

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

Alias IdentifyStrategy

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

Alias PerceptionResult

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

Alias collect_rule_evidence

Re-exported from parrot_pipelines.planogram.identification.evidence.collect_rule_evidence.

Alias identify_full_image

Re-exported from parrot_pipelines.planogram.identification.identify.identify_full_image.

Function identify_image

Read OCR, dispatch the layout strategy, then attach neutral rule observations.

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

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

Returns: IdentificationResult

Alias identify_slots

Re-exported from parrot_pipelines.planogram.identification.identify.identify_slots.

Alias identify_strips

Re-exported from parrot_pipelines.planogram.identification.identify.identify_strips.

Attribute logger

Alias read_target_text

Re-exported from parrot_pipelines.planogram.identification.targets.read_target_text.

Function to_bgr

Convert an untouched full-resolution PIL image to contiguous BGR pixels.

to_bgr(image: Image.Image) -> np.ndarray

Parameter Type Default Description
image Image.Image

Returns: np.ndarray

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