Get the largest blank square area in a picture
$pip install a-cv2-find-biggest-square
#adding to cv2
from a_cv2_imshow_thread import add_imshow_thread_to_cv2
add_imshow_thread_to_cv2()
from a_cv2_find_biggest_square import add_find_biggest_square_to_cv2
add_find_biggest_square_to_cv2()
import cv2
bil = r"https://github.com/hansalemaos/screenshots/raw/main/cv2_putTrueTypeText_000015.png"
box, resultpic, length = cv2.find_largest_square(
image=bil, scale_percent=30, gaussian_blur=6, draw_result=True
)
cv2.imshow_thread(resultpic)
#without adding to cv
from a_cv2_imshow_thread import add_imshow_thread_to_cv2
add_imshow_thread_to_cv2()
from a_cv2_find_biggest_square import find_largest_square
import cv2
bil = r"https://github.com/hansalemaos/screenshots/raw/main/cv2_putTrueTypeText_000015.png"
box, resultpic, length = find_largest_square(
image=bil, scale_percent=30, gaussian_blur=6, draw_result=True
)
Metadata
Release files for a-cv2-find-biggest-square 0.10
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 |
|---|---|---|---|---|
| a_cv2_find_biggest_square-0.10.tar.gz | 4.0 kB | Without provenance | Details for a_cv2_find_biggest_square-0.10.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| a_cv2_find_biggest_square-0.10-py3-none-any.whl | Python 3 | none | any | Details for a_cv2_find_biggest_square-0.10-py3-none-any.whl |
Total release size: 9.5 kB
Release files / a_cv2_find_biggest_square-0.10.tar.gz
| Download URL | a_cv2_find_biggest_square-0.10.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bd9a07bd5e88367ee2df89f7121177c5823fe31ba820093f2e8382a41ea07d84
|
|
BLAKE2b-256 checksum How to use checksums |
e7a07f1619a06454acdee4be2277b90be37e814c235b7f0f48393c42c75c72d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / a_cv2_find_biggest_square-0.10-py3-none-any.whl
| Download URL | a_cv2_find_biggest_square-0.10-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
209f78f454dad02258c6e8c2bef2150e7688ee151b52e88a687fc9da7d7c472b
|
|
BLAKE2b-256 checksum How to use checksums |
273696930f018cdf8e64c9186060f23e5b3c7ac584228704ffebded174f2af1b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Security for a-cv2-find-biggest-square 0.10
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.