Graph-based image segmentation
Project description
Graph Segment Algorithms for Graph Neural Network-based Tracking
Installation
pip install graph_segment
Test
Download the data python3 download_data.py. And then ./build/bin/walk_through data/debug_graph.dot.
Developer Guide
Install a Python virtual environment and activate it:
python3 -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install cibuildwheel build twine
Then you can run
pipx run cibuildwheel --platform linux
Packing and Uploading
python3 -m build
twine upload dist/*
Note
The code was improved by OpenAI o1Pro model. The execution time was reduced from 403 ms to 190 ms.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file graph_segment-0.0.2.tar.gz.
File metadata
- Download URL: graph_segment-0.0.2.tar.gz
- Upload date:
- Size: 10.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb5ddfca98580290ddc4778d63b2e28bb75ba3a52b773f3d13f769107ae687a5
|
|
| MD5 |
3243e7cc8038379352327afe5eb024dd
|
|
| BLAKE2b-256 |
f9e2382b7ec1a68f9faf9730aadc747945a33881f7960e243602bb0ae9cd568e
|
File details
Details for the file graph_segment-0.0.2-cp314-cp314t-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: graph_segment-0.0.2-cp314-cp314t-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.14t, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10044454958bf2f752e6c253054f4d371f9114aa172dae4b722af348ee91f99b
|
|
| MD5 |
ab1f2ee57fed38fb6f4ef1ce0c59e3fb
|
|
| BLAKE2b-256 |
2cd040c3751e5e39288c98246367e33f8724089cbb8b44e870009cf208da6dd9
|
File details
Details for the file graph_segment-0.0.2-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: graph_segment-0.0.2-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 96.2 kB
- Tags: CPython 3.14t, manylinux: glibc 2.24+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f88be3afe69ac354e9b8d9383de5f02e9e79a561d0bf3005f99ce4cd8ef93fa
|
|
| MD5 |
2b3d6c90ae4349f7e4166a63cddf7c98
|
|
| BLAKE2b-256 |
1f4dbfc32ac359a370930b22bcdf9cf47957312a5a0aa7fea426d7043a948cfb
|
File details
Details for the file graph_segment-0.0.2-cp314-cp314-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: graph_segment-0.0.2-cp314-cp314-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.14, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f174323fdfd31d5ed1dd5b1e310d7164ba9d758e7f8f2419de83b6e5411d3d5
|
|
| MD5 |
e2621adf29f91056df46dd3fddf58c03
|
|
| BLAKE2b-256 |
4503aa1f9200d165e911591840ea67269b86eb00d599eab707e103f8344edfc2
|
File details
Details for the file graph_segment-0.0.2-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: graph_segment-0.0.2-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 95.5 kB
- Tags: CPython 3.14, manylinux: glibc 2.24+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0a6643eca730290633788d03392844cc2d37a2f35dca0d2656f4361450e9a77
|
|
| MD5 |
6cb845183d4918a16ce24eabffc159f7
|
|
| BLAKE2b-256 |
df6a40b1cf76f669ee79312303e220ba2ef2211534a18836f703601ca68f4191
|
File details
Details for the file graph_segment-0.0.2-cp313-cp313-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: graph_segment-0.0.2-cp313-cp313-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.13, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
692b547e4f25f823b082c0649f3f2f6f689b9df628c1c59c6b3164c6da73ad16
|
|
| MD5 |
d51ead09ca0c04509d0d25c4711d9d93
|
|
| BLAKE2b-256 |
31d9fdc54c64fa18589d4778230cb80b3e029b36f126807cbc2bc3edbf7a7d82
|
File details
Details for the file graph_segment-0.0.2-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: graph_segment-0.0.2-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 95.5 kB
- Tags: CPython 3.13, manylinux: glibc 2.24+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e30b439af27dca2048592505d2edac98154413202791af43286690598df6da22
|
|
| MD5 |
5f8f2203277389771942933ebf1c84db
|
|
| BLAKE2b-256 |
9dc70df69fbbcd895da3c49e52091690e10215043702920c1e8fe2275ebf9868
|
File details
Details for the file graph_segment-0.0.2-cp312-cp312-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: graph_segment-0.0.2-cp312-cp312-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.12, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3b29351ba48cff772a5418dbe858ac6282613f1415ea47624e435c3159b9b992
|
|
| MD5 |
18f627eda870ee95abc2104dd07ccd5d
|
|
| BLAKE2b-256 |
cf166857dad8c1e346936e1b3ebb8e95554c829a5a978588889e8f52a2a244da
|
File details
Details for the file graph_segment-0.0.2-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: graph_segment-0.0.2-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 95.7 kB
- Tags: CPython 3.12, manylinux: glibc 2.24+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
845120245771ff6cda0babb3bbd1f2d088ff5ed9b0722de947bc85017713e3f9
|
|
| MD5 |
4832d03229099eda5ce37c35c843b1f0
|
|
| BLAKE2b-256 |
6ad7b032a1d386ffd673c93c3fdcc18cbac6a3b949c0b731881d0a0fbc0397d7
|
File details
Details for the file graph_segment-0.0.2-cp311-cp311-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: graph_segment-0.0.2-cp311-cp311-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.11, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c4d46adb9a1911d6264d78972bd190dc6b520855c636b5a391e1d58b706a726
|
|
| MD5 |
3963e9243c9f34abadc57705f87b5d9b
|
|
| BLAKE2b-256 |
33aa3a3fb7d4ac0317c769fa18fd7d0b63fe8c47d815b80b76d62126d69e0ded
|
File details
Details for the file graph_segment-0.0.2-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: graph_segment-0.0.2-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 94.6 kB
- Tags: CPython 3.11, manylinux: glibc 2.24+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e0ca7ca9a9614a134c6afed5e852db9be5823af71860c2bb6019fcfc2bcf932e
|
|
| MD5 |
8feb2d3dd1a06f9ebfa2f3aaf686ac36
|
|
| BLAKE2b-256 |
c71bb28a6657e6c25948ddacf711c53e8d8fdc6fa1c302193bc4ca18052d0e97
|
File details
Details for the file graph_segment-0.0.2-cp310-cp310-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: graph_segment-0.0.2-cp310-cp310-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.10, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef0f333a8ede0afb49ecd65ee21352f61e6ba3c64049edc5f761c74cada47bcf
|
|
| MD5 |
99ea09f8db9fea601f0e7cf86a219a32
|
|
| BLAKE2b-256 |
835354b6fba9fb0291d86a4a76b531984a09c918e257b8823c2f04b7ed0a14e2
|
File details
Details for the file graph_segment-0.0.2-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: graph_segment-0.0.2-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 93.0 kB
- Tags: CPython 3.10, manylinux: glibc 2.24+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33f25c4a61cd329b08ca335baffe20be9636658852732e373a98bfc27ccf4737
|
|
| MD5 |
e15d80ef10c2c98192f81bc2541765be
|
|
| BLAKE2b-256 |
444440ae4ebba7d0040ad3fbfcabb64c1f54ad5cc8eb1594e0411467991c39f4
|
File details
Details for the file graph_segment-0.0.2-cp39-cp39-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: graph_segment-0.0.2-cp39-cp39-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.9, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bfd7a40987185212f4dac305d1d82853361c054ff3307d76e57be5a8e6666782
|
|
| MD5 |
998a3e1e331336bbe41456fb94036d4b
|
|
| BLAKE2b-256 |
f57e8d0dde1bda5c652d28291cfec7f5a4305685d7861ba442e18a3e479d55c6
|
File details
Details for the file graph_segment-0.0.2-cp39-cp39-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: graph_segment-0.0.2-cp39-cp39-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 93.0 kB
- Tags: CPython 3.9, manylinux: glibc 2.24+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
742a13146697b9fc3b698b137054dd940d54d5da66daf1aae1a5462b5ea11b01
|
|
| MD5 |
8eb8bf075e60b536b11c1b9512c4b5f4
|
|
| BLAKE2b-256 |
455b6c37547f36a756322fa41d3342ba7627cbd1a56630a3ef1bebb2c9a47ec0
|
File details
Details for the file graph_segment-0.0.2-cp38-cp38-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: graph_segment-0.0.2-cp38-cp38-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.8, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
948e9e6272c4f882dbbd39ec870282224284d79ad3c3d5ac09dd14188d6c9fde
|
|
| MD5 |
a4bb45438c64bbb98bc61d8bcc21a4b1
|
|
| BLAKE2b-256 |
fd40290501a5c9f88309a381f9ade790b617c5a9772f52ed88d73f7957971731
|
File details
Details for the file graph_segment-0.0.2-cp38-cp38-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: graph_segment-0.0.2-cp38-cp38-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 92.7 kB
- Tags: CPython 3.8, manylinux: glibc 2.24+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2bfb7442879922fea5704e44e945dab0bfba6600ce5416f5c2c4728f6a7e22a3
|
|
| MD5 |
7a3f1f2eae1d7b95287bf28566132f31
|
|
| BLAKE2b-256 |
ee75f30bca3dd43ac242ac5db7b91bdbd07efbb6b35764461e2a6cf6449b3ad3
|