GithubHelp home page GithubHelp logo

johny-c / kitti Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hunse/kitti

0.0 2.0 0.0 261 KB

Tools for working with the KITTI dataset in Python

License: MIT License

Python 62.86% C++ 36.00% C 1.14%

kitti's Introduction

kitti

Tools for working with the KITTI dataset in Python.

License

The majority of this project is available under the MIT license. The files in kitti/bp are a notable exception, being a modified version of Pedro F. Felzenszwalb and Daniel P. Huttenlocher's belief propogation code 1 licensed under the GNU GPL v2. These files are not essential to any part of the rest of the project, and are only used to run the optional belief propogation disparity image interpolation.

Setup

To begin working with this project, clone the repository to your machine

git clone https://github.com/hunse/kitti

Download the KITTI data to a subfolder named data within this folder. Most of the tools in this project are for working with the raw KITTI data. For example, if you download and unpack drive 11 from 2011.09.26, it should be in the folder data/2011_09_26/2011_09_26_drive_0011_sync. The calibration files for that day should be in data/2011_09_26.

Since the project uses the location of the Python files to locate the data folder, the project must be installed in development mode so that it uses the original source folder

python setup.py develop

You should now be able to import the project in Python. If you have trouble with commands like kitti.raw.load_video, check that kitti.data.data_dir points to the correct location (the location where you put the data), and that commands like kitti.data.get_drive_dir return valid paths.

For examples of how to use the commands, look in kitti/tests. Most of the examples use drive 11, but it should be easy to modify them to use a drive of your choice.

Happy hacking!

Cython setup

The belief propagation module uses Cython to connect to the C++ BP code. To build the Cython module, run

python setup.py build_ext --inplace

This should create the file module.so in kitti/bp.

kitti's People

Contributors

hunse avatar

Watchers

 avatar  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.