Git Product home page Git Product logo

charlesbvll / monstereo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vita-epfl/monstereo

0.0 0.0 0.0 15.02 MB

MonoLoco++ and MonStereo for 3D localization, orientation, bounding box dimensions and social distancing from monocular and / or stereo images. PyTorch Official Implementation.

Home Page: http://arxiv.org/abs/2008.10913

License: Other

CMake 0.06% C++ 24.68% Python 74.64% Jupyter Notebook 0.62%

monstereo's Introduction

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:

monstereo's People

Contributors

bertoni9 avatar charlesbvll avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.