Skip to main content

Python API for interfacing with SAILenv

Project description

SAILenv Client - SAILab Virtual Environment

SAILenv is a Virtual Environment powered by Unity3D, developed by SAILab in Siena. This repository contains a Python client for SAILenv.

Have a look at the project page - SAILenv for more details.

Technical report here - accepted at ICPR2020.

Agent API

SAILenv is accessible through an instance of the Agent class, which acts as the API between Python scripts and the environment. The API is designed to be as easy as possible to integrate with most known computer vision frameworks.

Through the API, a Python script can access many views of the environment with configurable resolution scaling (aspect ratio is fixed, at the moment):

  • Realistic rendering of the environment
  • Pixel-wise segmentation at category level
  • Pixel-wise segmentation at instance level
  • Pixel-wise depth
  • Pixel-wise optical flow

A script can also:

  • Obtain the list of object categories available in the scene
  • Obtain the list of available scenes
  • Transfer the Agent in one of the available scenes
  • Manually set the Agent position and orientation
  • Enable automatic movement through a predetermined track inside the scene

Optical Flow

The optical flow is obtained directly from the Unity Physics Engine, meaning that it is both highly accurate while still achieving greats speed.

Agent and Environment communication

The Agent and the Environment communicate through low-level sockets, allowing highly performant exchange of information.

Cite

@article{meloni2020sailenv,
  title={SAILenv: Learning in Virtual Visual Environments Made Simple},
  author={Meloni, Enrico and Pasqualini, Luca and Tiezzi, Matteo and Gori, Marco and Melacci, Stefano},
  journal={arXiv preprint arXiv:2007.08224},
  year={2020}
}

Download

PyPI version

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

sailenv-0.5b0.tar.gz (10.4 kB view details)

Uploaded Source

File details

Details for the file sailenv-0.5b0.tar.gz.

File metadata

  • Download URL: sailenv-0.5b0.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.10

File hashes

Hashes for sailenv-0.5b0.tar.gz
Algorithm Hash digest
SHA256 fe0acf929a551520a16dd92e24088a5807aeeef3cac1dfa720d206f83692508a
MD5 74289746f8c51de6e1459f11dc949959
BLAKE2b-256 a13f434eb62f4595bb4db4119f9389190e6627d5bc2db13e5df1f495984610ee

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page