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.8.tar.gz.

File metadata

File hashes

Hashes for moveread_pipelines_manual_correct-0.1.8.tar.gz
Algorithm Hash digest
SHA256 04bfe5219501473a036bbc6bba6306736d8de66b42e4353aced686da825430d6
MD5 ec689945cda671116c86145f7d30370c
BLAKE2b-256 3bac771cc3e8f16734d82f8eae0b259a76c3875424997e55e897d9539ca9f401

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for moveread_pipelines_manual_correct-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 fe2b70da7dc35151907658b0dc784f397de772c47aad13c8d9e1d6c9436e4ee6
MD5 1ab873babc34bd658f372d3f7d3052c1
BLAKE2b-256 cfafc389f4f4a1e3c348efeb9f13462418f68c554981a812c0dbab81a660d0fa

See more details on using hashes here.

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