Skip to main content

Fit a circle on a mask as accurately as possible by brute-forcing a location from an approximate location

Project description

circlejerk

Instead of using the Hough-Transform, this approach is fitting a circle using a brute-force algorithm. This is more accurate but not really fast, hence we implemented it in Rust so that we can use a dumb-but-it-works approach to accurately get the centerpoint of the circle.

Our exapmle mask is not great, because we also need to catch the reflective part of the sphere. We then applied the algorithm to find the centerpoint of the sphere.

   

Example Usage

pip install circlejerk
from circlejerk import circle_fit
optimum = circle_fit(mask, initial_guess, radius, search_space=search_space)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

circlejerk-0.2.0-cp39-abi3-win_amd64.whl (161.8 kB view details)

Uploaded CPython 3.9+Windows x86-64

circlejerk-0.2.0-cp39-abi3-win32.whl (149.9 kB view details)

Uploaded CPython 3.9+Windows x86

circlejerk-0.2.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (315.7 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ x86-64

circlejerk-0.2.0-cp39-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl (354.1 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ s390x

circlejerk-0.2.0-cp39-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (376.3 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ ppc64le

circlejerk-0.2.0-cp39-abi3-manylinux_2_17_i686.manylinux2014_i686.whl (331.8 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ i686

circlejerk-0.2.0-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (317.1 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ ARMv7l

circlejerk-0.2.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (312.4 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ ARM64

circlejerk-0.2.0-cp39-abi3-macosx_11_0_arm64.whl (271.2 kB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

circlejerk-0.2.0-cp39-abi3-macosx_10_12_x86_64.whl (276.9 kB view details)

Uploaded CPython 3.9+macOS 10.12+ x86-64

File details

Details for the file circlejerk-0.2.0-cp39-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for circlejerk-0.2.0-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 69301016920de6457a1af970296d48dd72f163497f7afe0e47d8a692a3b05984
MD5 06437360cd60125c999d7b50eccf2cea
BLAKE2b-256 5c8f67f642bf160725fe41a04a583b6150ffa92a2ca9f070e03a2c60082f7ce1

See more details on using hashes here.

File details

Details for the file circlejerk-0.2.0-cp39-abi3-win32.whl.

File metadata

  • Download URL: circlejerk-0.2.0-cp39-abi3-win32.whl
  • Upload date:
  • Size: 149.9 kB
  • Tags: CPython 3.9+, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.8.2

File hashes

Hashes for circlejerk-0.2.0-cp39-abi3-win32.whl
Algorithm Hash digest
SHA256 7b6a5a68970e1f8bb5aa4f435f821109a8975a797f5deae631d6e4d4a00c9e69
MD5 0aeb6e6403b88f0c4744120769d7482a
BLAKE2b-256 5624224ad1701d1911420c4a4afc83eabea6e9f17f7e9e81c8bbe702aa621c43

See more details on using hashes here.

File details

Details for the file circlejerk-0.2.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for circlejerk-0.2.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a363ae3b99d609ad2c4e61e398d1545b79dbb4bedeb158efcf3a971c7ae61525
MD5 95a34d7d76713bf33918ce50b35269f8
BLAKE2b-256 aac3d068821379a2629bcd3d7bb57265b927f74b6038c228901a4950998c8195

See more details on using hashes here.

File details

Details for the file circlejerk-0.2.0-cp39-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl.

File metadata

File hashes

Hashes for circlejerk-0.2.0-cp39-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 9b15e01077ce906cf5ad090be41c5237d52fedbb076d4e535d0243882a7dd6c9
MD5 078ba723da4dd1da6a546a59bd56893c
BLAKE2b-256 fb072e2238b3898b68083816c3d2844ae749531365d3db54f5dc4f5fc108b392

See more details on using hashes here.

File details

Details for the file circlejerk-0.2.0-cp39-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl.

File metadata

File hashes

Hashes for circlejerk-0.2.0-cp39-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 8b25a106a5b57721a131c31d56ba68ed976683cf981f3c5ac1c9aeee7593afab
MD5 551ac655f7902f429ade2650b138ff6f
BLAKE2b-256 a945ec9b2a54729d4ef0fc31a2898af275885efc5dd719e093e1dbe5c951e7e1

See more details on using hashes here.

File details

Details for the file circlejerk-0.2.0-cp39-abi3-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for circlejerk-0.2.0-cp39-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 19fd7366ef6e7095b170f04c47ca075eda63f1fa8399dedf5001b7cf460fd15a
MD5 c236ac508e368e547cd1e472bc640d4b
BLAKE2b-256 9e17ccb1c9df59d36684f0d49268e7a5a8483891e77c1f7a00277984d04866c3

See more details on using hashes here.

File details

Details for the file circlejerk-0.2.0-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for circlejerk-0.2.0-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 ee56bbe9ac3d37a52e47e07c2fe518cf9597c8fed361cf3f91073800fd091e1f
MD5 e3517ea008a14a137214d95dceed82bf
BLAKE2b-256 72f3c1147a33b9055355f91e87e2e82d9bc14f4102817f58f6d2c3eec12a7ed7

See more details on using hashes here.

File details

Details for the file circlejerk-0.2.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for circlejerk-0.2.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 3751a53d1676154e14f3f209ecbae54a3ad90cc0570ce8067021f4ea72171c79
MD5 07204c43835ebebb76f3f5a293f1b9f7
BLAKE2b-256 4988d907ca7b70878863bf8467f170929bc9aa8a13b6ba9daa2a92b69fe96070

See more details on using hashes here.

File details

Details for the file circlejerk-0.2.0-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for circlejerk-0.2.0-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9c8c8eedcea4bd36f50791ee2264c6ef5a433e551691b1cab328567bc4616075
MD5 12a8c19bd3fab63ee6ea85a7ae2d0bb3
BLAKE2b-256 552c1d8d51b73942542e5c360d6a6af513d273146357fbc7934e443aff42cf58

See more details on using hashes here.

File details

Details for the file circlejerk-0.2.0-cp39-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for circlejerk-0.2.0-cp39-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 a15d46b16d93ccfdef513e97f98f45df4864014fbdcad689581cc908491507c7
MD5 c4ab9503055a9b94ef976a338d2910c2
BLAKE2b-256 956e77ea9a773466fb6aee66f8390863fcf4ed4fa8dff04a9ea684b4d96685ae

See more details on using hashes here.

Supported by

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