Git Product home page Git Product logo

lode's Introduction

Multi-view shape estimation of transparent containers

Authors:

  • Alessio Xompero
  • Ricardo Sanchez-Matilla
  • Apostolos Modas
  • Pascal Frossard
  • Andrea Cavallaro

Created date: 2020/02/28

Version: 0.1

Resource type: software

Description

LoDE (Localisation and Object Dimensions Estimator) is a method for jointly localising container-like objects and estimating their dimensions using two wide-baseline, calibrated RGB cameras. Under the assumption of circular symmetry along the vertical axis, LoDE estimates the dimensions of an object with a generative 3D sampling model of sparse circumferences, iterative shape fitting and image re-projection to verify the sampling hypotheses in each camera using semantic segmentation masks (Mask R-CNN).

LoDE webpage CORSMAL Containers dataset

Tested on

  • Python 3.6.8
  • OpenCV 4.1.0
  • PyTorch 1.4.0
  • TorchVision 0.5.0
  • NVIDIA CUDA 10.1
  • CORSMAL Containers dataset

Tested on Linux machine with Ubuntu 16.04 LTS

Installation

Download or clone the repository.

git clone https://github.com/CORSMAL/LoDE.git

We recomend creating an anaconda environment (more info on how to install miniconda)

conda create -n LoDE python=3.6.8
source activate LoDE

Install dependencies in the environment

pip install -r requirements.txt

Preparing the CORSMAL Containers dataset

Download the CORSMAL Containers dataset

cd <rootPath>
wget http://corsmal.eecs.qmul.ac.uk/data/ICASSP20/CORSMAL_containers_dataset.zip
unzip CORSMAL_containers_dataset.zip
mv CORSMAL_Containers dataset
rm CORSMAL_containers_dataset.zip

The dataset should be in the same working directory than LoDE. The dataset folder should be named dataset and should be structured as the CORSMAL Containers dataset (see current structure).

Run LoDE on the whole dataset

python main.py --object=0 --draw

Demo with a pair of images

Run LoDE with a sample of the CORSMAL Containers dataset (e.g. object 15, lighting 0, and background 0; contained on ./dataset/images)

python main.py --object=15 --lighting=0 --background=0 --draw

Output

LoDE outputs two results:

  • Dimensions estimation of the height and width of the container in milimeters in results/estimation.txt
  • Visual representation of the container shape in results/*.png. The visual representation can be removed by omitting the --draw commands

Citation

If you use this data, please cite: A. Xompero, R. Sanchez-Matilla, A. Modas, P. Frossard, and A. Cavallaro, Multi-view shape estimation of transparent containers, Published in the IEEE 2020 International Conference on Acoustics, Speech, and Signal Processing, Barcelona, Spain, 4-8 May 2020.

Bibtex: @InProceedings{Xompero2020ICASSP, TITLE = {Multi-view shape estimation of transparent containers}, AUTHOR = {A. Xompero, R. Sanchez-Matilla, A. Modas, P. Frossard, and A. Cavallaro}, BOOKTITLE = {IEEE 2020 International Conference on Acoustics, Speech, and Signal Processing}, ADDRESS = {Barcelona, Spain}, MONTH = "4--8~" # MAY, YEAR = 2020 }

Licence

This work is licensed under the Creative Commons Attribution-NonCommercial 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc/4.0/ or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.

lode's People

Contributors

corsmal avatar risama avatar

Watchers

James Cloos 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.