GithubHelp home page GithubHelp logo

cgm-depthmap-toolkit's Introduction

Depthmap toolkit

Depthmap toolkit is an utility to convert and visualise the data captured by cgm-scanner.

Overview

CGM-Scanner currently captures the data as depthmaps. Depthmap is our own format developed for high compressed data.

Tools

Visualisation of depthmaps

  • The tool accepts only the data captured by cgm-scanner. The data could be captured by any ARCore/AREngine device supporting ToF sensor. Tool could be opened by following command:

python toolkit.py depthmap_dir calibration_file

  • The depthmap_dir folder has to contain subfolder depth containing one or more depthmap files.
  • By arrows "<<" and ">>" you can switch to next or previous depthmap in the folder.
  • Export pointcloud will export the data into PLY file in export folder.
  • Export textured mesh will triangulate and texturize the data and export in into OBJ file in export folder.
  • Export poisson mesh will triangulate and extrapolate the data and export in into OBJ file in export folder.
  • All exported data data will be reoriented using depthmap pose (if available)
  • calibration_file is the txt file with calibration for the device.

Visualisation types

Depthmap toolkit Viz

The tool generates 5 different visualisations (from left-to-right order):

  • Depth image - this is a most raw visualisation of depthmap
  • World-oriented normals - green value indicates a horizontal surface, blue and red a vertical surface (supported from scan type v1.0)
  • Metrical segmentation visualisation - repeating pattern mapped on surfaces based on world-oriented normals, the pattern repeats every 10 centimeters (this might help ML models to calibrate measures captured by different devices, supported from scan type v1.0), blue is the detected floor, yellow is the detected child/object
  • Confidence map - amount of IR light reflected into ToF receiver, this information might vary a lot (every sensor uses a different amount of IR light) and it is not recommended to use it for ML training
  • RGB photo - captured photo (if available)

cgm-depthmap-toolkit's People

Contributors

shanky0009 avatar anupamav avatar

Stargazers

Christian Pfitzner avatar  avatar

Watchers

Sheesh Mohsin avatar  avatar Matthias Noll 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.