Skip to main content

Manual perspective correction pipeline for Moveread

Project description

Manual Correct

Pipeline interface for a Manual Correction API

TL; DR

  • Input (Qin): basically an image URL
  • Output (Qout):
    • Corrected: perspective corners, or
    • Rotated: angle of rotation (in 90º increments)

Usage

import moveread.pipelines.manual_correct as corr

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


api = corr.CorrectAPI(Qin, Qout)

await api.items().sync()
await api.correct('id', Corners(tl=[0, 0], tr=[0, 1], br=[1, 1], bl=[1, 0]))
await api.rotate('id', 90)

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

Built Distribution

File details

Details for the file moveread_pipelines_manual_correct-0.1.6.tar.gz.

File metadata

File hashes

Hashes for moveread_pipelines_manual_correct-0.1.6.tar.gz
Algorithm Hash digest
SHA256 a72c25b028a1cd796f9f73ed899aec0eb20802c1e4bc8640ce2a5baf9e3e06ab
MD5 9e9ceeba78f54e701cd65d2050f5d322
BLAKE2b-256 6852ac896b1b3873b590e00013588026ca2aeca0e3f021a9f3e7eaad983e600c

See more details on using hashes here.

Provenance

File details

Details for the file moveread_pipelines_manual_correct-0.1.6-py3-none-any.whl.

File metadata

File hashes

Hashes for moveread_pipelines_manual_correct-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 b23c38c8f5ce0a54efa53838ed61231a1ef72e60ec99ef573db01023445bc700
MD5 2b9c55eed528d3f736d8fcd4522e43e3
BLAKE2b-256 6af1055c7437d54d32548c188f9c435f10303990c7a792b1a2f189e90947b809

See more details on using hashes here.

Provenance

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