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.
Installation
You can install the package through pip:
pip install rpycocotools
You can also build and install it into a virtualenv with 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).
- Make it possible to get the visualization image as a numpy array.
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.4.tar.gz
(72.2 kB
view hashes)
Built Distributions
Close
Hashes for rpycocotools-0.0.4-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63f26ee367acb677c3f75b49a54bf02044d34ce2a6c99bab2f9c252f7a74510c |
|
MD5 | 1c85d4a3a2471a6dd8f67d5ce26459ef |
|
BLAKE2b-256 | 90a97fe6ff6f6b26f80805cc15a4087f546a1c9051fbfdcbe075719a20e86e87 |
Close
Hashes for rpycocotools-0.0.4-pp39-pypy39_pp73-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e6ff10727da29472db96659c5238bf8d45b521cfab20ec0a34e58ab90521a04 |
|
MD5 | 503ccd12c1c7aaf92c04d2355671c295 |
|
BLAKE2b-256 | a48b44722677de278c6d24420ca1f30a5dd49c6f51ecd6854d2654c910651b53 |
Close
Hashes for rpycocotools-0.0.4-pp39-pypy39_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25db40b39244786cbc395ef677ab935ff0a3f06099505a86a23e1211c1468296 |
|
MD5 | 181d061900fed34a44c0346d75a4dcfb |
|
BLAKE2b-256 | f094f3df654fd29dcb3bafc489495473208d355e3aac0e397a9840736fef2160 |
Close
Hashes for rpycocotools-0.0.4-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf98d92ff5ed2766ef5a94d683955ac806fcbf3961f144704d2c227a3fe5f201 |
|
MD5 | 4bd5003cb965b906521713a3055d00e4 |
|
BLAKE2b-256 | 61994d5be53bae711c30ea78aae8fb2f65c759ea6735e6e2a740bb16c7d7ed62 |
Close
Hashes for rpycocotools-0.0.4-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2f15e3c3d2e541e6ecfe5fe3b9ac6ff4e5ae13f7ed8abcd1f183aec80aaac62 |
|
MD5 | ade57fd7488961499e2a6d5057c3c8e1 |
|
BLAKE2b-256 | 4da3d6e8dffc3b8cd2535b4d2f3d732c3ba8568c90cd2f48beeccc4cd53efdc5 |
Close
Hashes for rpycocotools-0.0.4-pp38-pypy38_pp73-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82b2ba461effe46ebc439ba20d28d3ca51c9d2927b4dd3bc3998a2311b93e652 |
|
MD5 | 7abadcb84e41afe0c7a08f1f56491cb4 |
|
BLAKE2b-256 | 547472e724842d9f083a6d4b306baef684f9ec16fb7ca71a65b38ed661feece5 |
Close
Hashes for rpycocotools-0.0.4-pp38-pypy38_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d396cc1cd7ea0da6a9f9ce4e8f127a6bf510553bd6f8c82f3f5e7680ed2dc26 |
|
MD5 | f7da37507958d592843d847678c6c962 |
|
BLAKE2b-256 | ad1c9d20e5283e54016c741af3c2b666e89d1a765e5b7342f5760d9176073777 |
Close
Hashes for rpycocotools-0.0.4-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5987609c4f5cb96e6f6b72a237ba60dc9be58f66c1c58cac69200940e92a3653 |
|
MD5 | 76fa7e60e76b6139767c0a7b8385f5d9 |
|
BLAKE2b-256 | fa7bc8e94f5eb6ddd7d28b15622e8ca743d3f8b85dde21fe5bc5a9c0fb0d0242 |
Close
Hashes for rpycocotools-0.0.4-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6eab4444490894000348b324c90f155f0ae16575beda5785d178a2e41fa55740 |
|
MD5 | 5f02f4d951f0873f8759cfa66e573bf1 |
|
BLAKE2b-256 | ef932ba8e1d1c3496c491528a6a2b57f2cf26edb41b60ae80006ea795bce22ff |
Close
Hashes for rpycocotools-0.0.4-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b1b0744be85df3a5f51950f484a9828279443ab7126d31d67a04ed933110e60 |
|
MD5 | 912f3af010f745052c70849edce94bba |
|
BLAKE2b-256 | c6ad293fe47f04ea547f49c3ce6aa69883e71e711ea735064218374eb0cbe412 |
Close
Hashes for rpycocotools-0.0.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 210e3fa5346204e6449b381a2f250cfa79cd92d51a5359aed949cf832d752cca |
|
MD5 | 50ed37015314b7089fde66dfa2024afa |
|
BLAKE2b-256 | b27aa017a663d5e3d80c8ca7a6ab84b21fd3608c8be119eb5c9b43626363c737 |
Close
Hashes for rpycocotools-0.0.4-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 904917024e470634063af591efc93cc8181af06c41488ba438e52157e42fa2c5 |
|
MD5 | ec3db2168b5501465c95d67c62435204 |
|
BLAKE2b-256 | d48a901799ea93dd150fba58d29459b7b195818b0482f5a0534184d8d1986110 |
Close
Hashes for rpycocotools-0.0.4-cp311-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1fd0bdd54066439327f49fa35107d744e963c0cb8b8f3d868169eea32a679a56 |
|
MD5 | 9872980f2b88e24f4abd66739855f8bf |
|
BLAKE2b-256 | ac38ca9ccdf523d10b21c3479120ce0d4957ae7aa76b9305cdd30e1fc1484789 |
Close
Hashes for rpycocotools-0.0.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90eb0282b1a98a0b1868dc85a37c92842e18cc83fbc26b77ae71d7fb8d37c360 |
|
MD5 | be050a4bb8b4623e8ffa5da3c10605bd |
|
BLAKE2b-256 | d52843baaa1d43f8c951ab27c8fdef503d92de72bc2a126d7d0a8c5a89d44c93 |
Close
Hashes for rpycocotools-0.0.4-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02d7a6b70775b2a7ceb4a463d233ff5c6935a55abd099c3e25489e7d05d55c11 |
|
MD5 | fb65fe7692c4dcef82ea44fb5e6f07cf |
|
BLAKE2b-256 | 4cf7506ac3c84734b8b7edc1317f41cde1942f8b711ad473477151ca76188e56 |
Close
Hashes for rpycocotools-0.0.4-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba865e58438e03d39458e277f71a1eaccc79dfee8627cf25baee953a42016bfa |
|
MD5 | c67f1e532ba2374c310b4da7e4dc2598 |
|
BLAKE2b-256 | c0967f4d65271c794844eabc7c614c9a9b0fec026b942a7c09957f1c74056170 |
Close
Hashes for rpycocotools-0.0.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30db69d4afb869ea2921807b2f073f0df2a1d2e45efb3ca16786cf34a27c6fa8 |
|
MD5 | 7b43428cbb8c2684e0898c29ffbc0404 |
|
BLAKE2b-256 | fc99aba03ed4f87277b72a759af03362660d30506c9d4672973314f7222559e6 |
Close
Hashes for rpycocotools-0.0.4-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d45ee3d6f28e4f32e16bd39bc549dba171731833ec8cbd19bd33ab90740f7034 |
|
MD5 | bea05fa4102790faab501b423ffe4089 |
|
BLAKE2b-256 | 739155440c8721fc05d914384628bd3beb25c4c57a56458c9ce8e802adf8bc03 |
Close
Hashes for rpycocotools-0.0.4-cp311-cp311-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7639226e9f6baad9b3d8c396d45f4808c40be13b2191901e1977394484cef97 |
|
MD5 | 0b7acfb4d8ee18202a95d30ec9625184 |
|
BLAKE2b-256 | 4ba5e4c4c63be92146d23521299edcf4093d84571c22a83fff8607347f48b957 |
Close
Hashes for rpycocotools-0.0.4-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb45d159e02305b19dc888e0edf02d8f35a6239478fd2b17cdb065a08c684246 |
|
MD5 | f936a8f8ebe94c441d933d175e7a6589 |
|
BLAKE2b-256 | 130f5110862a36411c39b0db50455424c1e8d968f172bf6e01786d4b5221d172 |
Close
Hashes for rpycocotools-0.0.4-cp310-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77a98cbb85c2a9e3e8a729074c96795924284b606468f5cea1df3fc24f4f1432 |
|
MD5 | c5f80cd00ac4c3bc28ae0efc6757a51b |
|
BLAKE2b-256 | a0d79e69e305c4fd83cc8c454cf129b56fbec22fdfe8fc7adef61ce06b3fcd82 |
Close
Hashes for rpycocotools-0.0.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 285effbf365142edf3a746b8efab1fb64a9feaa96e70c013f1c4ac41c88f5b78 |
|
MD5 | 8ccfd1de9b91c29c925e6175b3ff0c90 |
|
BLAKE2b-256 | 19f9f698dd458ca399472a3097b4f5d98cca962534484a769f6e2355cfabc276 |
Close
Hashes for rpycocotools-0.0.4-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bcfe4cf9314955d86f2b21e2b3c81f6daee7fae8a3708e9ece131002eb9b5122 |
|
MD5 | d8d0904e0d58742879061c7e7daf4942 |
|
BLAKE2b-256 | 2532e444c4b723320e27f3d22ccb1a5db910e3a4c0f29e75601af43154b14b60 |
Close
Hashes for rpycocotools-0.0.4-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72c46cae1586e28cbb4dd7713263e406b8979a2a18388ae0a7c6e7adb7ed0c62 |
|
MD5 | 8ba9332d672dac97a388a25268860942 |
|
BLAKE2b-256 | 29111a5c13205e72a4aee767a0a11aa96c0a8fe399abaa93f6fe710e0f6353a9 |
Close
Hashes for rpycocotools-0.0.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6037f8d526c15948fb82e842948f84ccbaf719916e9b1122b32f1a69dbd93696 |
|
MD5 | 90f2b97a8f81224b4c50eeb0b4419ccb |
|
BLAKE2b-256 | a9d3d8f261e6b819ea36fd12d3bc8b795df6cc3a0801f94f2a857e4275387503 |
Close
Hashes for rpycocotools-0.0.4-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e84fd598fe5b254ac211d6ff503e07f304ccec720c838d8c5d99e915f56f0d86 |
|
MD5 | 45b7fe827b52b1c57fa6deb415510d74 |
|
BLAKE2b-256 | 899d93a4e20be5a6a9e4f28cd3639f5ca9672995928f163d2d207d630bc74116 |
Close
Hashes for rpycocotools-0.0.4-cp310-cp310-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7688a36a0070facf8e12a32d2b0222a6200eb09718b03429a93b87ede2934a8 |
|
MD5 | 749325790a21355dac6cc2898ae7f524 |
|
BLAKE2b-256 | 04fb23a8241062dbb704e90d1e65d73caa0d6be37735c5d2f4e68301a93bd38e |
Close
Hashes for rpycocotools-0.0.4-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8aae3f75d2d63cab59cce093d79e025b45aad83c8cfd871be1c9f1ca0ba8ee49 |
|
MD5 | c34985564b728f77bc2b71582f7e8428 |
|
BLAKE2b-256 | ae83102677c6a10f8777f19e42d03f230361f2183c603f9ad716a1706a1f0794 |
Close
Hashes for rpycocotools-0.0.4-cp39-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2df16d36c69fadc443a0b3a4e322e7540a17eb2e699fb0216c8dd333e7142ca4 |
|
MD5 | ce017211557586586c6a020b13019fb2 |
|
BLAKE2b-256 | 49092d1e9ecadcf59f26ebad049fc873dfc0689e932a0d1eda1ae857b248867d |
Close
Hashes for rpycocotools-0.0.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c33a3045a099b0dc9df3937e70b876bffc98d951a0e47c1a2d6412508c194c9 |
|
MD5 | 0d9eb24beb1aa1589240e27f6fbdc160 |
|
BLAKE2b-256 | 5dd07de2a46d79db116a3332a56aa06fa88ecb23af7cd78220e7904fcb22583f |
Close
Hashes for rpycocotools-0.0.4-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f95298635688300584a29977db270f14f3002e449d0c936909b63db21389531 |
|
MD5 | 04ae6437e2438c3aecf8f78d02164b5c |
|
BLAKE2b-256 | 1a532dbf902d6382b60ce7ddae9af67c2a5f602188369db85eb8a009f64a28ae |
Close
Hashes for rpycocotools-0.0.4-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d14e5a7510637bc50346c561f1bf90b327ebf816213b0bafa66aff10b350217f |
|
MD5 | f471369b9384bb2632e948321f1e3bec |
|
BLAKE2b-256 | f6a7c2d08a1cd78a494a8996ebfbedf945899cb55229816e8993aa848975579e |
Close
Hashes for rpycocotools-0.0.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 319be7247e48a6a7d1ae8720edd7e471320dadc2f947dcfc8f65eb27435ab05f |
|
MD5 | b017887cb6bae06c839c4f6fbd7de315 |
|
BLAKE2b-256 | 2a671b9c01ba25009eb3b7e99575be84a834a62fb0b0b0a4d7671240240e403a |
Close
Hashes for rpycocotools-0.0.4-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41fbdda75f5960bb6a83807e81b350efc1a64f0b2b4c16915004c67305d8c97a |
|
MD5 | 7a6fd21d8c9b4e58dcbc0754143e8e5d |
|
BLAKE2b-256 | 30dd3c5a52e539eb6b58d49d100a43c68850a5dd508fd625b8911d88b4881210 |
Close
Hashes for rpycocotools-0.0.4-cp38-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6779afdec0b353ee60934f269f9c0bbe5fde4bb87c8cddddf58bfaa3a80253e9 |
|
MD5 | 7504a1d6e5e7233875c749a8b7d7f7d3 |
|
BLAKE2b-256 | 802802defce1df7b5f9e20e8eb9ca0e71d3133663db66430ae22c5d9e4eabc1e |
Close
Hashes for rpycocotools-0.0.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0c290fa2a6b13a64000e7a4e4ab5e4a3bc7edc886ef9de97954f691fb6c9b3e |
|
MD5 | 35ea59673895c3fcf37d590b33a673c5 |
|
BLAKE2b-256 | 57410ecf6e0213abb4c9d7c23bf0ae628195f73dfd9d03ef954831fa79e4ecca |
Close
Hashes for rpycocotools-0.0.4-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 641a2e970ec3103964e0d9f412deb23aed4416b03fbea2c463fdcda7a3af49f0 |
|
MD5 | 905afa54bc5da6f7d63a7dac0682512c |
|
BLAKE2b-256 | aeb725cf00d679da662e0f4382c0f49962e4fb9ce6e77182693a04e4afa3cc77 |
Close
Hashes for rpycocotools-0.0.4-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbbda900530ad3f7466302347037047f2a564bf1d17e649431ab197b8e1a77a6 |
|
MD5 | de0319b9a4b7e063483e0422dfa103a3 |
|
BLAKE2b-256 | 56106bd6c06797436e764bfe4ca269f01039faf93565b5f2bfaa7ea04550818e |
Close
Hashes for rpycocotools-0.0.4-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46a5b52b7537ab789967597a52f393e38f29ef4589dbc5c27695e8d28ec8072d |
|
MD5 | c7bc01e965296b31bf3bc1dec23639ea |
|
BLAKE2b-256 | acc30a71edafaa72a22d432700ecf53bf1a0653c5a6c42c8d3053c3c90bac6b5 |