Coder Social home page Coder Social logo

caomw / monocular_scale Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kitizz/monocular_scale

0.0 1.0 0.0 18.44 MB

Source code for estimating scale of tracking data collected on smart phones and other smart devices.

License: Other

Shell 13.77% Objective-C 29.99% Swift 37.78% Python 16.89% QML 1.57%

monocular_scale's Introduction

References

  • Hand Waving Away Scale, C. Ham, S. Lucey, S. Singh, In European Conference on Computer Vision 2014
  • Absolute Scale Estimation of 3D Monocular Vision on Smart Devices, C. Ham, S. Lucey, S. Singh, In Mobile Cloud Visual Media Computing 2015

Requirements

  • Python 3.5
  • Numpy

Optional

  • Numba (Python JIT compiler) (numba.pydata.org/)
  • Nutmeg (Fast visualization) (github.com/kitizz/nutmeg/)

Notes

This method works best with large, in and out motions. May need to find appropriate cutoff frequency based on the expected motions. The lower you can push it (given the motions) the better.

Numba will accelerate certain aspects of this code. If it's not wanted, simply remove import and the @jit decorators in Util.py

With the iPhone plugged in, open it in iTunes. Go to apps, 'Camera IMU', selected folders of desired sequences, and 'Save To' destination of choice.

The tracking method is expected to output a CSV file as described in the read_external_poses method in Util.py.

ScaleSolve.py has method process_sequence(path) that accepts a path to any of these data directories with an additional tracking.csv file.

License

GNU GENERAL PUBLIC LICENSE Version 3 (GPLv3)

monocular_scale's People

Contributors

kitizz avatar

Watchers

曹明伟,Mingwei Cao 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.