Skip to main content

The open-source tool for loading and analyzing Unity SOLO datasets

PyPI version License

Introduction

pysolotools is a python package for managing SOLO datasets. It helps to perform following tasks:

  • Parse SOLO datasets generated with Unity Perception
  • Dataset iterables
  • Convert SOLO to COCO format
  • Compute common statistics

You can read more about SOLO schema here.

Pre-Requisites

Installation

pip install pysolotools --index-url=https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple

SOLO Dataset

Load and iterate frames
from pysolotools.consumers import Solo
solo = Solo(data_path="src_data_path")

for frame in solo.frames():
    # perform operations on frame
SOLO2COCO conversion

Supports conversion for these labels: 2d bbox, keypoints, instance, semantic.

from pysolotools.converters.solo2coco import SOLO2COCOConverter
from pysolotools.consumers import Solo

solo = Solo("src_data_path")
dataset = SOLO2COCOConverter(solo)
dataset.convert(output_path="output_path")
Stats computation

Supports bbox, keypoints and image analysis on SOLO dataset.

from pysolotools.consumers import Solo
from pysolotools.stats.analyzers.bbox_analyzer import BBoxHeatMapStatsAnalyzer, BBoxSizeStatsAnalyzer
from pysolotools.stats.handler import StatsHandler

bbheat=BBoxHeatMapStatsAnalyzer()
bbsize=BBoxSizeStatsAnalyzer()
solo = Solo("data_path")
bbh= StatsHandler(solo=solo)
bbh.handle(analyzers=[bbheat,bbsize],cat_ids=[])

Community and Feedback

The Unity Computer Vision demos are open-source and we encourage and welcome contributions. If you wish to contribute, be sure to review our contribution guidelines and code of conduct.

Support

For feature requests, bugs, or other issues, please file a GitHub issue using the provided templates we will investigate as soon as possible.

License

Apache License 2.0

Release files for pysolotools 0.3.17

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pysolotools 0.3.17
File Size Uploaded
pysolotools-0.3.17.tar.gz 24.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pysolotools 0.3.17
File Interpreter ABI Platform
pysolotools-0.3.17-py3-none-any.whl Python 3 none any Details

Total release size: 55.1 kB

Release files / pysolotools-0.3.17.tar.gz

Download URL pysolotools-0.3.17.tar.gz
Size 24.3 kB
Tags Source
SHA-256 checksum
How to use checksums
55d700fecc0409eda86e1b0bfc7d1ea774b8d4422c1184ae25c6696f4a8b4236
BLAKE2b-256 checksum
How to use checksums
445da10c1a83a24bf522b964d0a07b3714df470e27a890106465b49091784e72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.15

Release files / pysolotools-0.3.17-py3-none-any.whl

Download URL pysolotools-0.3.17-py3-none-any.whl
Size 30.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cb651cb8d0f1cac14d002c4dec82784d8ecb74601b179983de269eddc94b6b91
BLAKE2b-256 checksum
How to use checksums
bee0172d2f1a821b22250e5ccc0839cc00d894e6b925478a45a75877f625ab59
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.15

Release history Release notifications | RSS feed

This release

0.3.17 This release

2 release files

0.3.16

2 release files

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page