{"id":16496958,"url":"https://github.com/bencevans/pycococt","last_synced_at":"2026-06-05T13:32:10.650Z","repository":{"id":66193550,"uuid":"262065596","full_name":"bencevans/pycococt","owner":"bencevans","description":"COCO-CameraTrap Indexer. An extension to pycocotools including location and sequence indexing.","archived":false,"fork":false,"pushed_at":"2021-08-24T13:45:11.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-12T04:29:13.843Z","etag":null,"topics":["camera-traps","cameratrap","coco-dataset","machine-learning"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/pycococt/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bencevans.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-07T13:59:12.000Z","updated_at":"2021-09-02T16:54:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"4a0f5e94-71b4-42f7-89c3-72d44203e945","html_url":"https://github.com/bencevans/pycococt","commit_stats":{"total_commits":13,"total_committers":2,"mean_commits":6.5,"dds":"0.23076923076923073","last_synced_commit":"49284207bac090bf405508d56b2b214852733f65"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bencevans%2Fpycococt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bencevans%2Fpycococt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bencevans%2Fpycococt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bencevans%2Fpycococt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bencevans","download_url":"https://codeload.github.com/bencevans/pycococt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241367936,"owners_count":19951448,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["camera-traps","cameratrap","coco-dataset","machine-learning"],"created_at":"2024-10-11T14:37:23.071Z","updated_at":"2025-03-01T13:13:21.344Z","avatar_url":"https://github.com/bencevans.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pycococt\n\n\u003e [COCO-CameraTrap](https://github.com/microsoft/CameraTraps/blob/9384e69564a0c425b9ecdef3b050ab75a14e4413/data_management/README.md) Indexer. An extension to pycocotools including location and sequence indexing.\n\n## Features\n\n- Extends / Backwards compatable with [pycocotools](https://github.com/cocodataset/cocoapi/tree/master/PythonAPI/pycocotools)\n- Indexing for Locations and Sequences\n\n## Install\n\n```sh\npip install pycococt\n```\n\n## Usage\n\n```python\nfrom pycococt.cococt import COCOCT\n\nds = COCOCT('path to COCO-CameraTrap')\n\n# all the core indexes and helpers in pycocotools\nds.imgs\nds.anns\nds.cats\nds.catToImgs\nds.imgToAnns\n\n# with aditional camera trap indexes\nds.locs      # = [\n             #   'Location1',\n             #   'Location2',\n             #   'Location3',\n             #   ...\n             # ]\n\nds.locToImgs # = { 'Location1': {\n             #        'imageid': {\n             #           'id': 'imageid',\n             #           'location': 'Location1',\n             #           'height': ...\n             #         }\n             #      },\n             #      ...\n             #    }\n\nds.locToSeqs # = {\n             #     'Location1': [\n             #         'seq id 1_1',\n             #         'seq id 1_2',\n             #         ...\n             #     ],\n             #     'Location2': [\n             #         'seq id 2_1',\n             #         'seq id 2_2',\n             #         ...\n             #     ]\n             #     ...\n             # }\n\nds.seqToImgs # = { 'sequence 1 id': [\n             #       {\n             #           'id': 'image id',\n             #           ...\n             #        },\n             #        {\n             #           'id': 'image id',\n             #           ...\n             #        },\n             #        ...\n             #     ],\n             #     'sequence 2 id: [\n             #       ...\n             #     ]\n             #       ...\n             #    }\n```\n\n## Related\n\n* Collection of COCO-CameraTrap datasets available at https://lila.science/category/camera-traps/\n* COCO-CameraTrap [format definition](https://github.com/Microsoft/CameraTraps/blob/master/data_management/README.md#coco-cameratraps-format)\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbencevans%2Fpycococt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbencevans%2Fpycococt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbencevans%2Fpycococt/lists"}