GithubHelp home page GithubHelp logo

event-based-camera-simultaneous-mosaicing-and-tracking's Introduction

Event Based Camera Project: Simultaneous Mosaicing and Tracking

Authors: Céline Nauer, Joël Bachmann, Nik Dennler

We attempt to implement the methods proposed by Kim et. al (2014) to simultaneously map the environment and track the camera pose in SO(3). For the mapping part, we are heavily guided by the MATLAB code written by G. Gallego of RPG. For the tracking algorithm, we implemented the theoretical framework of a particle filter for event cameras proposed by Kim et. al (2014).

This project is a part of the lecture 3D Vision by M. Pollefeys at ETHZ.

Presentation Poster

References:

  1. H. Kim, A. Handa, R. Benosman, S.-H. Ieng, A.J. Davison, Simultaneous Mosaicing and Tracking with an Event Camera. British Machine Vision Conference, 2014.

  2. H. Rebecq, T. Horstschaefer, G. Gallego, D. Scaramuzza, EVO: A Geometric Approach to Event-based 6-DOF Parallel Tracking and Mapping in Real-time. IEEE Robotics and Automation Letters (RA-L), Vol. 2, Issue 2, pp. 593-600, Apr. 2017.

  3. G. Gallego, C. Forster, E. Mueggler, D. Scaramuzza, Event-based Camera Pose Tracking using a Generative Event Model. arXiv:1510.01972, 2015.

event-based-camera-simultaneous-mosaicing-and-tracking's People

Contributors

huetufemchopf avatar joelba93 avatar nkdnnlr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

event-based-camera-simultaneous-mosaicing-and-tracking's Issues

Size out of bound

File "/Users/celine/Library/Mobile Documents/comappleCloudDocs/NSC/3D Vision/Event-Based-Camera-Simultaneous-Mosaicing-and-Tracking/Tracking_Particle_Filter/tracking.py", line 408, in
particles['logintensity_t'] = particles.apply(lambda row: intensity_map[int(row.v), int(row.u)], axis=1)
IndexError: ('index 1024 is out of bounds for axis 0 with size 1024', 'occurred at index 0')

replace as_matrix with .values

/Users/celine/Library/Mobile Documents/comappleCloudDocs/NSC/3D Vision/Event-Based-Camera-Simultaneous-Mosaicing-and-Tracking/Tracking_Particle_Filter/tracking.py:467: FutureWarning: Method .as_matrix will be removed in a future version. Use .values instead.
rotmats[i] = sp.logm(particles['Rotation'].as_matrix()[i])

error message appears when mod(nr of events / batch size) = 0

Traceback (most recent call last):
File "/anaconda3/envs/project3Dvision/lib/python3.6/site-packages/pandas/core/indexes/base.py", line 2657, in get_loc
return self._engine.get_loc(key)
File "pandas/_libs/index.pyx", line 108, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/index.pyx", line 132, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/hashtable_class_helper.pxi", line 987, in pandas._libs.hashtable.Int64HashTable.get_item
File "pandas/_libs/hashtable_class_helper.pxi", line 993, in pandas._libs.hashtable.Int64HashTable.get_item
KeyError: 10000

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/Users/celine/Library/Mobile Documents/comappleCloudDocs/NSC/3D Vision/Event-Based-Camera-Simultaneous-Mosaicing-and-Tracking/Tracking_Particle_Filter/tracking.py", line 637, in
run()
File "/Users/celine/Library/Mobile Documents/comappleCloudDocs/NSC/3D Vision/Event-Based-Camera-Simultaneous-Mosaicing-and-Tracking/Tracking_Particle_Filter/tracking.py", line 612, in run
t_batch = events.loc[event_nr]['t']
File "/anaconda3/envs/project3Dvision/lib/python3.6/site-packages/pandas/core/indexing.py", line 1500, in getitem
return self._getitem_axis(maybe_callable, axis=axis)
File "/anaconda3/envs/project3Dvision/lib/python3.6/site-packages/pandas/core/indexing.py", line 1913, in _getitem_axis
return self._get_label(key, axis=axis)
File "/anaconda3/envs/project3Dvision/lib/python3.6/site-packages/pandas/core/indexing.py", line 141, in _get_label
return self.obj._xs(label, axis=axis)
File "/anaconda3/envs/project3Dvision/lib/python3.6/site-packages/pandas/core/generic.py", line 3585, in xs
loc = self.index.get_loc(key)
File "/anaconda3/envs/project3Dvision/lib/python3.6/site-packages/pandas/core/indexes/base.py", line 2659, in get_loc
return self._engine.get_loc(self._maybe_cast_indexer(key))
File "pandas/_libs/index.pyx", line 108, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/index.pyx", line 132, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/hashtable_class_helper.pxi", line 987, in pandas._libs.hashtable.Int64HashTable.get_item
File "pandas/_libs/hashtable_class_helper.pxi", line 993, in pandas._libs.hashtable.Int64HashTable.get_item
KeyError: 10000

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.