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

File metadata

File hashes

Hashes for moveread_pipelines_manual_correct-0.1.2.tar.gz
Algorithm Hash digest
SHA256 1e7426fdbb06cc89d1b263263d2b97404698d613fac800de4310067f190e2dc4
MD5 4eeca642d72c032a97ea4d95fffb50d6
BLAKE2b-256 02f6344bec37c3a7a66809bc5c238b6c7cd26dcb4a8a2ab38856da5b5d9322da

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for moveread_pipelines_manual_correct-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9c54e210139e1e9719a10e9b53b677b2148cbd742a035e7caa59ecfebc265139
MD5 88008155887066a3f7906c601c2d8156
BLAKE2b-256 f6efa7f2ab665f02637c01f66a9e48030824a90439689c85237e282a80bb8ce7

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