Skip to main content

Perceiving Humans in 3D

This repository contains the code for two research projects:

  1. Perceiving Humans: from Monocular 3D Localization to Social Distancing (MonoLoco++)
    README & Article

    social distancing

    monoloco_pp

  2. MonStereo: When Monocular and Stereo Meet at the Tail of 3D Human Localization
    README & Article

    monstereo 1

Both projects has been built upon the CVPR'19 project Openpifpaf for 2D pose estimation and the ICCV'19 project MonoLoco for monocular 3D localization. All projects share the AGPL Licence.

Setup

Installation steps are the same for both projects.

Install

The installation has been tested on OSX and Linux operating systems, with Python 3.6 or Python 3.7. Packages have been installed with pip and virtual environments. For quick installation, do not clone this repository, and make sure there is no folder named monstereo in your current directory. A GPU is not required, yet highly recommended for real-time performances. MonoLoco++ and MonStereo can be installed as a single package, by:

pip3 install monstereo

For development of the monstereo source code itself, you need to clone this repository and then:

pip3 install sdist
cd monstereo
python3 setup.py sdist bdist_wheel
pip3 install -e .

Interfaces

All the commands are run through a main file called main.py using subparsers. To check all the commands for the parser and the subparsers (including openpifpaf ones) run:

  • python3 -m monstereo.run --help
  • python3 -m monstereo.run predict --help
  • python3 -m monstereo.run train --help
  • python3 -m monstereo.run eval --help
  • python3 -m monstereo.run prep --help

or check the file monstereo/run.py

Data structure

Data         
├── arrays                 
├── models
├── kitti
├── figures
├── logs

Run the following to create the folders:

mkdir data
cd data
mkdir arrays models kitti figures logs

Further instructions for prediction, preprocessing, training and evaluation can be found here:

Metadata

Release files for monstereo 0.2.3

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

Source distribution (sdist)

Source distribution for monstereo 0.2.3
File Size Uploaded
monstereo-0.2.3.tar.gz 70.4 kB Details

Built distribution (wheel)

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

Total release size: 168.3 kB

Release files / monstereo-0.2.3.tar.gz

Download URL monstereo-0.2.3.tar.gz
Size 70.4 kB
Tags Source
SHA-256 checksum
How to use checksums
754bdfd4fdeb6803023d80eddbcee070936ce6779c3039ee33e5769b7b24eae7
BLAKE2b-256 checksum
How to use checksums
9e6b0d16cf41e78ba32d202bb8c33efb1d1f7f882b1247a977d4f8f07cae794a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.7.8

Release files / monstereo-0.2.3-py3-none-any.whl

Download URL monstereo-0.2.3-py3-none-any.whl
Size 97.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
26866e120b8c4223da633ff5ee15a9ac6bb377f9d1126b245f8904d9f24aff14
BLAKE2b-256 checksum
How to use checksums
ecf544ea370691e7341e2e5e4af3cef50adba009ba85cb18e1d99720216f3bc5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.7.8

Release history Release notifications | RSS feed

This release

0.2.3 This release

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1

2 release files

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