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 cornersRecorrect
: 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')
- Run demo.ipynb for a full example
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
Close
Hashes for moveread_pipelines_manual_select-0.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b03d83a5150c71e4d830205bd195dee2fa855270be3672d86ac44310f8f6d125 |
|
MD5 | 053ec27e3a9953a6cfd86e1bfc2d0be6 |
|
BLAKE2b-256 | 4f414f456b68367a97cf7903eb71a34c54bdf318646af4a666019b7e28c3b755 |
Close
Hashes for moveread_pipelines_manual_select-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | baa16b6d03a441f7de9fba3fdac1ee61701af756f8dd395fed3e1895efddc476 |
|
MD5 | e8c91b2ef2d62ea35b3c7c1ab91dc484 |
|
BLAKE2b-256 | dc895d36f51be27daea77cdeffcbbc039a62b1f407c9c8c1ffe00d4c2f0d7310 |