Skip to main content

Get the largest blank square area in a picture

Project description

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

)

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

a_cv2_find_biggest_square-0.10.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

a_cv2_find_biggest_square-0.10-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file a_cv2_find_biggest_square-0.10.tar.gz.

File metadata

File hashes

Hashes for a_cv2_find_biggest_square-0.10.tar.gz
Algorithm Hash digest
SHA256 bd9a07bd5e88367ee2df89f7121177c5823fe31ba820093f2e8382a41ea07d84
MD5 1a718ea11ec744aad4127d35c31f8a2c
BLAKE2b-256 e7a07f1619a06454acdee4be2277b90be37e814c235b7f0f48393c42c75c72d3

See more details on using hashes here.

File details

Details for the file a_cv2_find_biggest_square-0.10-py3-none-any.whl.

File metadata

File hashes

Hashes for a_cv2_find_biggest_square-0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 209f78f454dad02258c6e8c2bef2150e7688ee151b52e88a687fc9da7d7c472b
MD5 2d7219d59dbbbf44811636250dd6895b
BLAKE2b-256 273696930f018cdf8e64c9186060f23e5b3c7ac584228704ffebded174f2af1b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page