Skip to main content

Moveread Boxes

Annotating and exporting boxes

Usage

import cv2 as cv
from scoresheet_models import models
import moveread.boxes as bxs

Grid Extraction

ann = bxs.exportable(
  bxs.Annotations(grid_coords=bxs.Rectangle(tl=(0.05, 0.195), size=(0.935, 0.66))),
  'fcde'
).unsafe()
boxes = bxs.export(fcde_sheet, ann)
# [cv.Mat(...), ...]

bxs.exportable(sheet, ann)
# Left(value=MissingAnnotations(detail='Model parameter required when relying on `grid_coords`'))

bxs.exportable(sheet, ann=Annotations())
# Left(value=MissingAnnotations(detail='No `grid_coords` provided'))

Contour Extraction

import robust_extraction as re

model = 'llobregat23'
res = re.descaled_extract(sheet, model)
ann = bxs.exportable(bxs.Annotations(box_contours=res.contours), model).unsafe()
boxes = bxs.export(res.corr_img, ann)

Metadata

Release files for moveread-boxes 0.1.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for moveread-boxes 0.1.11
File Size Uploaded Provenance Actions
moveread_boxes-0.1.11.tar.gz 3.5 kB Without provenance Details for moveread_boxes-0.1.11.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for moveread-boxes 0.1.11
File Interpreter ABI Platform Actions
moveread_boxes-0.1.11-py3-none-any.whl Python 3 none any Details for moveread_boxes-0.1.11-py3-none-any.whl

Total release size: 8.0 kB

Release files / moveread_boxes-0.1.11.tar.gz

Download URL moveread_boxes-0.1.11.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
0e2203b51de9f1c02043d3e32fe686f218848611ea68afdff0f2241d6220ec81
BLAKE2b-256 checksum
How to use checksums
0e4a69e58bdd2164000529014b22e5388228839208f73e9bc8ba26b4e26035fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.11.6

Release files / moveread_boxes-0.1.11-py3-none-any.whl

Download URL moveread_boxes-0.1.11-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0aa80364154177ff80527a5edea0fd6bddc96769be901ec72d5adcc074711d60
BLAKE2b-256 checksum
How to use checksums
dfa1a5861dcf942bf08ac6fd372b6fe24ad8d32bef6e8a46128703359c5d6a8f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.11.6

Security for moveread-boxes 0.1.11

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page