Package providing utilities to load, manipulate, convert and visualize COCO format datasets.
Project description
rpycocotools
The rpycocotools
package provides tools to load, manipulate, convert and visualize COCO format datasets. The documentation is available here.
Installation
You can install the package through pip:
pip install rpycocotools
You can also git clone this repo and build it yourself with:
pip install -r requirements/requirements-build.txt
pip install .
(do not use maturin develop
, the imports will not work).
Usage example
Visualize image with a given id
:
import rpycocotools
coco_dataset = rpycocotools.COCO("../data_samples/coco_25k/annotations.json", "../data_samples/coco_25k/images")
coco_dataset.visualize_img(174482)
import rpycocotools
coco_dataset = rpycocotools.COCO("../data_samples/coco_25k/annotations.json", "../data_samples/coco_25k/images")
anns = coco_dataset.get_img_anns(174482)
mask = rpycocotools.mask.decode_poly_rs(anns[0].segmentation)
The mask is a numpy array and can be visualized (for example with opencv):
TODO list:
- Make it possible to get the dataset as a json (in order to be able to save/print it).
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
rpycocotools-0.0.5.tar.gz
(74.6 kB
view hashes)
Built Distributions
Close
Hashes for rpycocotools-0.0.5-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 815f1a7c13a5e3fb2f3407378115482a82f275f2168cf911e92fa00d4615bcfa |
|
MD5 | fcc0fabc47aabf5af3f650a63b6c1e9e |
|
BLAKE2b-256 | 34d96e22a5b8c9ef0ff386a7a1a0c8651baa7b85d5fcdada79162aae061840db |
Close
Hashes for rpycocotools-0.0.5-pp39-pypy39_pp73-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2fa6c7a4969d6b00f8959c35b968df97f1d7e34d4f3947d89e9c41909f6dece9 |
|
MD5 | 9c08a21d2363a9ce3443d5628a26fd38 |
|
BLAKE2b-256 | b1f6ea38f51ff4f7926fc68efe1619a273c2c60d97d50043d2102d830bbab052 |
Close
Hashes for rpycocotools-0.0.5-pp39-pypy39_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e70d08cffbe02b0e07ece61df86491c45a5b833710039ecf5d182a83124586a1 |
|
MD5 | a805843a9083e853fbea28ecb5c13db1 |
|
BLAKE2b-256 | 8ecc5d7730a3e73d9b3d87a464f78667b9429b20999a66c31d613cb50517a4b4 |
Close
Hashes for rpycocotools-0.0.5-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89aeb45ea58fc9fbb44c1ba9cb7a6376b3934dee82732eb03a675c2546175be1 |
|
MD5 | ead51571e0d2fe6e1ce880f8a468dd50 |
|
BLAKE2b-256 | 547cd399556057e38bc6b48429540ec6eb50f4c998e304b5f106b13c1107d04d |
Close
Hashes for rpycocotools-0.0.5-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42c08f8e97a7068f7c42ee3562ba3b6a5a535cdf190ecf1bdc1b46007a56031e |
|
MD5 | 1ed87ee803945f044462e08f6e455052 |
|
BLAKE2b-256 | 43ad94981bb8a7db7d8e14800085f7cda0d4851889ce22610e6b8315f8b42d10 |
Close
Hashes for rpycocotools-0.0.5-pp38-pypy38_pp73-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 322fb989b19a288148b2ad72682f8e84018e520b3acda096a994ae996b587957 |
|
MD5 | 0a91cc04a0dbebe46fc5597839ea27a2 |
|
BLAKE2b-256 | 1bd4a1301f045efbe9356d631b47b00ab5d95836428de7e9b316cb1a065c2480 |
Close
Hashes for rpycocotools-0.0.5-pp38-pypy38_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f971b43ba88710b56ef9cb19c13d4d0c2d15beecf41436d115a18ea6aad1b09c |
|
MD5 | 1f9fccc1cd4d0c7a632fd30419d5594a |
|
BLAKE2b-256 | 09f93beed2bc5e5079b71b77ea106c3f14bcfdaa56c5e8b6bdb3012e2ea8e995 |
Close
Hashes for rpycocotools-0.0.5-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d11f994d9ece598e183631c885d81de71c0168e8ca39da376973c674a21ae716 |
|
MD5 | f0913d5e9e9555e6b110fdf939295e2f |
|
BLAKE2b-256 | 57ea8f126e7756549316660d914a37582b0760db86463bc9df2cf02dc8d024a2 |
Close
Hashes for rpycocotools-0.0.5-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eea25317f4a1dca8e878cd1706ece78a14c8a33fdaca5220f32ef317f6817680 |
|
MD5 | 306617bc370ecc773ee5212fa4e6364b |
|
BLAKE2b-256 | 10042173030ce993231c8984c1d6a09d0738f6b8755eaccd3696a568d48a211b |
Close
Hashes for rpycocotools-0.0.5-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fcb8aad9c434d459976d055be5a41c1d0bb04761811e47b05896c7d282cd69cc |
|
MD5 | b5688d23ada0ad3aea4e4c56ecead603 |
|
BLAKE2b-256 | e15e3b329bb9c710a1f97baa66b251ef4b7110ccccb1f577a7b0f4518cae9be1 |
Close
Hashes for rpycocotools-0.0.5-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28eb8c3e7976ec81fc75808b93bf8020fb40402e08d2297a65f87e67a4b1b1fd |
|
MD5 | e703808228ca7ca283dcaec27c9bf009 |
|
BLAKE2b-256 | a70e7f077096c96a288221be3d7998a6b51e8b9f3610f64b2cf72860c747eac4 |
Close
Hashes for rpycocotools-0.0.5-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9012f32d5af0ce6c0d9252d6c4ed1a4e728f6f4d04a3e229550f3249a4200662 |
|
MD5 | 15cc99424bf7681be79e8ff8b1d9b90f |
|
BLAKE2b-256 | 2122f0ef7cc2159b7a11fd9dbc39ef7a809177849d07424cf2b9f3ca580c21b6 |
Close
Hashes for rpycocotools-0.0.5-cp311-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d2e5f4729b6e467e613d292eb903efecad1f9bea8a8a45006dd353955120130 |
|
MD5 | c5ec37182ec68e7ede9f67b729cae4eb |
|
BLAKE2b-256 | 70ef512c1239a423c6014baaee6609d6a85c77b8ec7699b1a12d86476ea77f1e |
Close
Hashes for rpycocotools-0.0.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 079d9d9a44a56a83eb221d2a912937088aa7ed07f017f9fbe9c5644ad2c6ca35 |
|
MD5 | 2b010205c8e503de2ce97edce5a2f70e |
|
BLAKE2b-256 | b7ba9570fcae843dc519b1c6424dd4f04c47effccbfb1c13a9df792a4254d753 |
Close
Hashes for rpycocotools-0.0.5-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0c484922a93218ad5ca8930807146c6f657be079cf97a6e268c7830f21ccf7b |
|
MD5 | a0d43ec1b06a4cece0767a412337d61f |
|
BLAKE2b-256 | de5fe947d7b1dbb197d05c9cf907a76edbd550f2f245040eaab77902e1b2648a |
Close
Hashes for rpycocotools-0.0.5-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce3f84dc4fbbe1d6885f6d208927a1a1ef1d4ae1c4b582d64f3a3b2755dd57e5 |
|
MD5 | 5aae18e503cc7776a4fef0183821ae0e |
|
BLAKE2b-256 | 09b0e07386cb5e9d5c5fe83ccfa87eb18ba46dbb03e9c28a008740cd90f5c578 |
Close
Hashes for rpycocotools-0.0.5-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09ddbe71790aab3a3a92e6803fe5ffdbd0a82b0cc5b386f475c4e8a1571f2f5e |
|
MD5 | 45337860b499b597aae0adfe053603ac |
|
BLAKE2b-256 | 3b5a16d09492f49b37c653720b357a29f7f79337c6e36feadde30d5ae6aec3f7 |
Close
Hashes for rpycocotools-0.0.5-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b04d0d87f1e548aa4fe647b4f662e469f1ee1138aebde5dbb2a2c59eaa14dbb |
|
MD5 | a15764ea736e44bc66ca1a6d000fcab7 |
|
BLAKE2b-256 | f1afa41d17f71a2f0dbc3143bd89190b1f8c33079546a1caa5f8a23217d7ac9a |
Close
Hashes for rpycocotools-0.0.5-cp311-cp311-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36ac0d5a6f47468fe57da3db0118dd0940d122b19875019d03a386b8fe769098 |
|
MD5 | dfb661a5126dee68f8aaeeaed7bf203e |
|
BLAKE2b-256 | fe40232494808129af418e19e82915927337a6657f7448e7f99bb910010d60d6 |
Close
Hashes for rpycocotools-0.0.5-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0eca95884f08590a8cc508cd7729953bdcca8a2e4767793546d966af2ec8265 |
|
MD5 | 937dba6b1a77c5df0cc0b18efad557a9 |
|
BLAKE2b-256 | 2f2d4cc6143cb028a2dc13a9e3a8590a20e8a803b9dfadd58224d543a2be2969 |
Close
Hashes for rpycocotools-0.0.5-cp310-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13dfd6508742bb7b6468bc0a2dd5883555571fbd184ce08d958df519a9203f77 |
|
MD5 | aa9bb5b9a79b6e0f0d0954ed056e3785 |
|
BLAKE2b-256 | 75fb95b6e310315b4b448ccaef902bf53d136568ed3e7d3f2830257077f263f3 |
Close
Hashes for rpycocotools-0.0.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1377c11cbf7912850722645c9b50098f4461b2d193e477e0408af691f94afb54 |
|
MD5 | 831c623f7cb0987f30851530cd23098a |
|
BLAKE2b-256 | 6b89c734a7f71fc7822de757ae390f71fe56961e223d4dd957624708ed758bad |
Close
Hashes for rpycocotools-0.0.5-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbd71adfa9e53d94963040cfe8a314f6735b371d44156551ad6ecf755f73103f |
|
MD5 | 5f7d4d596ed59de5a0a0008c2f578e6d |
|
BLAKE2b-256 | 2bd75fbf67666bfd1d20428ac004b4429852f7050c58a5b28337df0d17a0ebeb |
Close
Hashes for rpycocotools-0.0.5-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eecd29c4b76cd74f39d085f21c4f2bcf292f82ca78a8daa827109fc580141d38 |
|
MD5 | 34d15d3c21d352849c9391bffc7f8423 |
|
BLAKE2b-256 | 8cebabf4f314484430e2bef63142f99ff8780eb5b8f4a40dfccb406691fc1bb0 |
Close
Hashes for rpycocotools-0.0.5-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a20645bfe8267e552771b704fde782c26d3671a974099be925cb135e8e40ea78 |
|
MD5 | ef29b2153ce3c29b436f3f7812619a6a |
|
BLAKE2b-256 | 276e746aba088ac577d0b92f7e31215faa7c0994b69f98b7afce3d44520168c4 |
Close
Hashes for rpycocotools-0.0.5-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ea31af37afd28044002a2fe52cd33c1eaabc953fb1a39e7439d3cc4f2fd5ba4 |
|
MD5 | af73cd88cf80bcc4527e59cf9609b0d4 |
|
BLAKE2b-256 | aa038a61a684a7c35e308c2f411cb9ffb70be481a963e3e4d35ea90a4429f5ac |
Close
Hashes for rpycocotools-0.0.5-cp310-cp310-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 967ca39ce8b399dceadaf4a57cf79073dbed472fb67ccfa4cd8bd600595a2efc |
|
MD5 | 16a6886fd375fd80a869733e6858ce02 |
|
BLAKE2b-256 | f724fd4fc3560f57c65f54d34644df6fd965bb0d54ab071c02b2dc14dcba8620 |
Close
Hashes for rpycocotools-0.0.5-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 025cf341bd925f89948e9e9fd270750a65c260365dc0235e28d1a0ae0eb92d80 |
|
MD5 | f8fca1d7bf4b165d54877fed2bd29821 |
|
BLAKE2b-256 | 8ec59d17bd19fd5f697c5ca78341b332fa57fe6fa889e839de449ec6a0672440 |
Close
Hashes for rpycocotools-0.0.5-cp39-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 195fa721a153e749949346125e1905c934bde2e2e97fd673cae7b9b18394e3f5 |
|
MD5 | 978dc969e3decdc9f0b9094078647e7e |
|
BLAKE2b-256 | bcd363f0a134a1afb10407c9ee26775fe045b94362d92c9c601255630bf11f84 |
Close
Hashes for rpycocotools-0.0.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c562fddac853a23c2b53e6a064002d114ebf66472a0f87bce1c68c3823c55e68 |
|
MD5 | b2878f59fe81683c1bcaa58190ac4ecb |
|
BLAKE2b-256 | 3ddaba3a411ae06338194ffbcf9f91d224288ffd7c94f8ba80f45aae7d795d03 |
Close
Hashes for rpycocotools-0.0.5-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7daa0bf8a0d4a1bc808e45fbab27137ad7705a005cbd38eeaa41e8212ad4ceb |
|
MD5 | 985c37c5417c8deb38ced411375542f7 |
|
BLAKE2b-256 | d1400e2c53a47d8d7e91a638e8ca6555b9b9b98c454add0dc8d6304499bee7e4 |
Close
Hashes for rpycocotools-0.0.5-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee5e795411291ec2f478f813ae00e60a2ac6c351bb6688bd9735c2643c161f5f |
|
MD5 | f55642c66c78cb160ca01acbc56f4a6f |
|
BLAKE2b-256 | 1d817afb9213bf3c3e5fb04a0be8d8b05321a6d0ecf9f37ed7b3423053f60098 |
Close
Hashes for rpycocotools-0.0.5-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 568eebaa9408ce6c19e9bfe8d39448f624f26952d3e349d488e79619df8f761b |
|
MD5 | f0fe4797462ae01163e4c0c9cbb0a0b5 |
|
BLAKE2b-256 | cda88bba31f7207a06eef13862cde0c3ec74ddcafafa7dcbed03db5a1c83bf73 |
Close
Hashes for rpycocotools-0.0.5-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 724364d23e6bba4fa49320e6bf857e429c983fc901e09bd9dea830765b753318 |
|
MD5 | a70f847d12c31822c051c5bb46a42722 |
|
BLAKE2b-256 | 782028391376fd0cdd474649cf72326d263221d69e2aab1f40649984c8bfa824 |
Close
Hashes for rpycocotools-0.0.5-cp38-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8471ab66d6016bb07ef22ac94ac80650a0a53a9332a81e4045e1a08f49037b2 |
|
MD5 | 4847d204e39a2b5076547f56aba1f2cb |
|
BLAKE2b-256 | 6c164c88b96389a6e46fb820614238a203e38ddcc978630ca46c4c01ed7ff477 |
Close
Hashes for rpycocotools-0.0.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8346557327b15e5cb57f82741acfc9a653a85cafcf7474d9465039cb2006187 |
|
MD5 | a311e84d87c76e55d9de43bbd77a5e74 |
|
BLAKE2b-256 | 6787d69451aa08a12061b6038c2057effed40c05c0daed384c1792dd9d949513 |
Close
Hashes for rpycocotools-0.0.5-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3305bedabf38d5861f422c28fac6844b7682ce116138ab3961f7e67e8c77751 |
|
MD5 | 749d7d80821d5f442b0335641eb8c016 |
|
BLAKE2b-256 | c720ab5d6964fd907467d5484e401dadcc100a4e271209dc4dc4c0b6fb7b076c |
Close
Hashes for rpycocotools-0.0.5-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 785de10e6a99c0853e922e26fc3f6f66f4859f2a5d3c307bb618ec5cf1487c56 |
|
MD5 | 942c2d989d30a23960019dd3efb118d8 |
|
BLAKE2b-256 | 6a31e81b91b819ff133d88f8589db14143987d9e9e5c799b8becb950427b92c0 |
Close
Hashes for rpycocotools-0.0.5-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0fea53b6be9698fc475bf47c73719081daa0bbe46860cd2f46d8799e9c0537f0 |
|
MD5 | 1e6ccdb1b20d9823c41fe4d4a15d3349 |
|
BLAKE2b-256 | c124405d0846797b0bbf24db75179ca55bf712b20165a22cce76f42386166da2 |