Skip to main content

ShelfManagement

This element will send alerts for restocking and planogram violations.

This module provides a pipeline element that will send alerts for restocking and planogram violations. This is a demonstration element and uses the first frame as a template for the restocking and planogram alerts.

Examples:

REST API:

WIP

Configuration File:

short-from : shelf-management

- source:
- address: https://youtu.be/jY86pXeTOLw
- type: youtube
- pipeline:
- gpu:bottle-detection:a:0.3:0.3
- shelf-management

ShelfManagement Objects

class ShelfManagement(Element)

This element sets alerts for restocking and planogram violations.

Attributes:

  • name str - The name of the element.

Examples:

ele = ShelfManagement()

process

def process(meta)

Sets alerts for restocking and planogram violations.

Arguments:

  • meta dict - The metadata to pass through.

Returns:

  • meta dict - The metadata.

Examples:

ele = ShelfManagement()
meta = ele.process(meta)