Manual Correct
Pipeline interface for a Manual Correction API
TL; DR
- Input (
Qin): basically an image URL - Output (
Qout):Corrected: perspective corners, orRotated: 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)
- Run demo.ipynb for a full example
Metadata
Release files for moveread-pipelines-manual-correct 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| moveread_pipelines_manual_correct-0.1.8.tar.gz | 2.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| moveread_pipelines_manual_correct-0.1.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.6 kB
Release files / moveread_pipelines_manual_correct-0.1.8.tar.gz
| Download URL | moveread_pipelines_manual_correct-0.1.8.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
04bfe5219501473a036bbc6bba6306736d8de66b42e4353aced686da825430d6
|
|
BLAKE2b-256 checksum How to use checksums |
3bac771cc3e8f16734d82f8eae0b259a76c3875424997e55e897d9539ca9f401
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.6
|
Release files / moveread_pipelines_manual_correct-0.1.8-py3-none-any.whl
| Download URL | moveread_pipelines_manual_correct-0.1.8-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fe2b70da7dc35151907658b0dc784f397de772c47aad13c8d9e1d6c9436e4ee6
|
|
BLAKE2b-256 checksum How to use checksums |
cfafc389f4f4a1e3c348efeb9f13462418f68c554981a812c0dbab81a660d0fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.6
|