Skip to main content

Pipeline interface for manual grid selection

Project description

Manual Select

Pipeline interface for manual grid selection

TL; DR

  • Input (Qin): an image and the scoresheet model
  • Output (Qout):
    • Selected: the grid corners
    • Recorrect: the image is too distorted to select the grid

Usage

import moveread.pipelines.manual_select as sel

Qin = Queue[tuple[sel.Task, State]] = ...
Qout = Queue[tuple[sel.Result, State]] = ...

api = SelectAPI(Qin, Qout)
await api.items().sync()
await api.select('id', Rectangle(tl=[0, 0], size=[1, 1]))
await api.recorrect('id')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

moveread_pipelines_manual_select-0.1.9.tar.gz (2.8 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page