{"id":14959703,"url":"https://github.com/unity-technologies/pysolotools","last_synced_at":"2025-09-22T04:33:15.425Z","repository":{"id":65375525,"uuid":"431411827","full_name":"Unity-Technologies/pysolotools","owner":"Unity-Technologies","description":"Python toolchain for SOLO.","archived":false,"fork":false,"pushed_at":"2024-07-16T09:13:38.000Z","size":318531,"stargazers_count":40,"open_issues_count":17,"forks_count":14,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-01-14T00:10:55.742Z","etag":null,"topics":["billing-5160","owner-computer-vision","perception"],"latest_commit_sha":null,"homepage":"https://Unity-Technologies.github.io/pysolotools","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Unity-Technologies.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2021-11-24T08:56:25.000Z","updated_at":"2024-12-02T16:12:48.000Z","dependencies_parsed_at":"2024-05-21T12:46:16.846Z","dependency_job_id":"30c53c3f-00ce-4712-b97a-b0d3a0034cfa","html_url":"https://github.com/Unity-Technologies/pysolotools","commit_stats":{"total_commits":306,"total_committers":17,"mean_commits":18.0,"dds":0.7712418300653595,"last_synced_commit":"7536cea09f676add68a0b781591125cfb9926c82"},"previous_names":[],"tags_count":54,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Unity-Technologies%2Fpysolotools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Unity-Technologies%2Fpysolotools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Unity-Technologies%2Fpysolotools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Unity-Technologies%2Fpysolotools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Unity-Technologies","download_url":"https://codeload.github.com/Unity-Technologies/pysolotools/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233824488,"owners_count":18736008,"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":["billing-5160","owner-computer-vision","perception"],"created_at":"2024-09-24T13:20:37.639Z","updated_at":"2025-09-22T04:33:10.038Z","avatar_url":"https://github.com/Unity-Technologies.png","language":"Python","readme":"\u003cdiv align=\"center\"\u003e\n\u003cp align=\"center\"\u003e\n\n\n**The open-source tool for loading and analyzing Unity SOLO datasets**\n---\n\n[![PyPI version](https://github.com/pytest-dev/pytest-cov/actions/workflows/test.yml/badge.svg)](https://github.com/Unity-Technologies/pysolotools/actions)\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE)\n\n\u003c/p\u003e\n\u003c/div\u003e\n\n## Introduction\n\npysolotools is a python package for managing SOLO datasets.\nIt helps to perform following tasks:\n\n- Parse SOLO datasets generated with Unity Perception\n- Dataset iterables\n- Convert SOLO to [COCO format](https://cocodataset.org/#format-data)\n- Compute common statistics\n\nYou can read more about SOLO schema [here](https://github.com/Unity-Technologies/perception/blob/main/com.unity.perception/com.unity.perception/Documentation~/SoloSchema/Solo_Schema.md).\n\n## Pre-Requisites\n- Install [Anaconda](https://docs.anaconda.com/anaconda/install/) or [Miniconda](https://docs.conda.io/en/latest/miniconda.html) (recommended). Install [pre-commit](https://pre-commit.com/).\n- Make sure `pip` is installed.\n\n## Installation\n\n```shell\npip install pysolotools --index-url=https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple\n```\n\n#### SOLO Dataset\n\n\n##### Load and iterate frames\n\n```python\nfrom pysolotools.consumers import Solo\nsolo = Solo(data_path=\"src_data_path\")\n\nfor frame in solo.frames():\n    # perform operations on frame\n```\n\n##### SOLO2COCO conversion\nSupports conversion for these labels: 2d bbox, keypoints, instance, semantic.\n\n```python\nfrom pysolotools.converters.solo2coco import SOLO2COCOConverter\nfrom pysolotools.consumers import Solo\n\nsolo = Solo(\"src_data_path\")\ndataset = SOLO2COCOConverter(solo)\ndataset.convert(output_path=\"output_path\")\n```\n##### Stats computation\nSupports bbox, keypoints and image analysis on SOLO dataset.\n\n```python\nfrom pysolotools.consumers import Solo\nfrom pysolotools.stats.analyzers.bbox_analyzer import BBoxHeatMapStatsAnalyzer, BBoxSizeStatsAnalyzer\nfrom pysolotools.stats.handler import StatsHandler\n\nbbheat=BBoxHeatMapStatsAnalyzer()\nbbsize=BBoxSizeStatsAnalyzer()\nsolo = Solo(\"data_path\")\nbbh= StatsHandler(solo=solo)\nbbh.handle(analyzers=[bbheat,bbsize],cat_ids=[])\n```\n\n\n## Community and Feedback\n\nThe Unity Computer Vision demos are open-source and we encourage and welcome contributions.\nIf you wish to contribute, be sure to review our [contribution guidelines](CONTRIBUTING.md)\nand [code of conduct](CODE_OF_CONDUCT.md).\n\n## Support\n\nFor feature requests, bugs, or other issues, please file a\n[GitHub issue](https://github.com/Unity-Technologies/Unity-Vision-Hub/issues)\nusing the provided templates we will investigate as soon as possible.\n\n\n## License\n[Apache License 2.0](LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funity-technologies%2Fpysolotools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funity-technologies%2Fpysolotools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funity-technologies%2Fpysolotools/lists"}