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
File details
Details for the file moveread_pipelines_manual_select-0.1.9.tar.gz
.
File metadata
- Download URL: moveread_pipelines_manual_select-0.1.9.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c8b322d4a973336de21b18928f4685c14127d0a8705f5d62705e1a7e58d9c2e |
|
MD5 | 3815191811ac08bfa9321460e0f1c313 |
|
BLAKE2b-256 | b452b1bdac1d47e5995b26eeff57cfe2b56376d0fc5dfb23a65cd0074ffd901e |
File details
Details for the file moveread_pipelines_manual_select-0.1.9-py3-none-any.whl
.
File metadata
- Download URL: moveread_pipelines_manual_select-0.1.9-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ce78c5964764cbe87ace58f6b43edcda86eb2ad0b5ee166205acc0f6dbf85e0 |
|
MD5 | 7db6553994c3940ff532f84912b22d60 |
|
BLAKE2b-256 | 5929df1174362a555c5a7501200db439327602edb8158f2395ab11f2da2e3627 |