tjwmd
Installation
pip install tjwmd
Quick Start
from PIL import Image
from tjwmd import TJWMD
from tjwmd.digits_labels import DigitsLabels
dl = DigitsLabels()
dl[0] = ['0', 'Zero']
wmd = TJWMD(
wm_counter_model_path='yolov8_wmc_v1.pt',
wm_digits_model_path='yolov8_wmd_v3s.pt',
digits_labels=dl,
counter_labels=['counter']
)
img = Image.open('6724502e2cec9d702006b6cc.jpeg')
values, bbox_img = wmd.predict(
_image=img,
num_of_digits=6,
wm_digits_conf=0.1,
wm_counter_conf=0.1,
angle=0.0
)
print(values)
bbox_img.show()
Metadata
Release files for tjwmd 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tjwmd-2.0.0.tar.gz | 3.3 kB | Without provenance | Details for tjwmd-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tjwmd-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for tjwmd-2.0.0-py3-none-any.whl |
Total release size: 7.5 kB
Release files / tjwmd-2.0.0.tar.gz
| Download URL | tjwmd-2.0.0.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d78851a9d4e72d5227045f80c4df39889472e119a789768b1719fe03713e345a
|
|
BLAKE2b-256 checksum How to use checksums |
0a275cf8f4b7908a687d7c45a5eb8fae0e9391b8580aa96c3881cd0e03e6e8fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.3 Linux/6.8.0-41-generic
|
Release files / tjwmd-2.0.0-py3-none-any.whl
| Download URL | tjwmd-2.0.0-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9cb57b25ad1a75779b40892621463882031bc17cb1a0fe06e8ce5a068760f334
|
|
BLAKE2b-256 checksum How to use checksums |
a083447cd1ab3f573e52bed2dc53135e8d8542ffe95a42968586513dcb826910
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.3 Linux/6.8.0-41-generic
|
Security for tjwmd 2.0.0
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.