Git Product home page Git Product logo

caltech_pedestrian_extractor's Introduction

Caltech Pedestrian Dataset Extractor

Extract images and annotation files from the Caltech Pedestrian Dataset using python.

This script extracts and converts data from .seq and .vbb files to .jpg images and .json files. Individual images + annotation files are extracted and stored per sequence and per video for easier access.

Requirements

  • python>=2.7 or python>=3.3
  • numpy
  • scipy
  • json

Usage

In order to start using this script you must first untar all files before running the script.

Then, to extract files just run the following comand in a terminal:

python converter.py -data_path <path_to_data>

This will create a dir named extracted_data/ and store all extracted data in there. If you wish to specify a different directory to store your data you can set the -save_path input argument to a different path.

python converter.py -data_path <path_to_data> -save_path <path_to_extract>

Note: A valid -data_path is required and must be provided in order for the script to work.

License

Licensed under the MIT license.

Acknowledgements

This code is based on @hizhangp caltech converter code.

caltech_pedestrian_extractor's People

Contributors

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