pycococt
COCO-CameraTrap Indexer. An extension to pycocotools including location and sequence indexing.
Features
- Extends / Backwards compatable with pycocotools
- Indexing for Locations and Sequences
Install
pip install pycococt
Usage
from pycococt.cococt import COCOCT
ds = COCOCT('path to COCO-CameraTrap')
# all the core indexes and helpers in pycocotools
ds.imgs
ds.anns
ds.cats
ds.catToImgs
ds.imgToAnns
# with aditional camera trap indexes
ds.locs # = [
# 'Location1',
# 'Location2',
# 'Location3',
# ...
# ]
ds.locToImgs # = { 'Location1': {
# 'imageid': {
# 'id': 'imageid',
# 'location': 'Location1',
# 'height': ...
# }
# },
# ...
# }
ds.locToSeqs # = {
# 'Location1': [
# 'seq id 1_1',
# 'seq id 1_2',
# ...
# ],
# 'Location2': [
# 'seq id 2_1',
# 'seq id 2_2',
# ...
# ]
# ...
# }
ds.seqToImgs # = { 'sequence 1 id': [
# {
# 'id': 'image id',
# ...
# },
# {
# 'id': 'image id',
# ...
# },
# ...
# ],
# 'sequence 2 id: [
# ...
# ]
# ...
# }
Metadata
Release files for pycococt 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pycococt-0.1.tar.gz | 2.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pycococt-0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.1 kB
Release files / pycococt-0.1.tar.gz
| Download URL | pycococt-0.1.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
483bf3ba775c16a9f5b824f56b2ec5ad7f59e27df2a3bb5abcdfacc25203849a
|
|
BLAKE2b-256 checksum How to use checksums |
89173a57a9428bb7ca78d5ff610e1c02a5b95407125cf6b56ed34c9f0a720bbf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/0.0.0 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.4
|
Release files / pycococt-0.1-py3-none-any.whl
| Download URL | pycococt-0.1-py3-none-any.whl |
|---|---|
| Size | 2.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3e4858f0e14b8fae18423fae6655662533d65203d5c2b5e06b0e7be7d87cf25c
|
|
BLAKE2b-256 checksum How to use checksums |
70e485df681b0d65a7f5eb2e2b87c58552d53e80a70ba806c8e1c5ed9c552dd3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/0.0.0 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.4
|