GithubHelp home page GithubHelp logo

tigven / deep-parking Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fabiocarrara/deep-parking

0.0 1.0 0.0 3 KB

Code to reproduce 'Deep Learning for Decentralized Parking Lot Occupancy Detection' paper.

Home Page: http://cnrpark.it

Python 100.00%

deep-parking's Introduction

Deep Learning for Decentralized Parking Lot Occupancy Detection

This repo contains code to reproduce the experiments presented in Deep Learning for Decentralized Parking Lot Occupancy Detection.

Visit the project website for more info and resources (dataset, pre-trained models).

Requirements

  • Caffe with Python interface (PyCaffe)

Steps to reproduce experiments

  1. Clone this repo together with its submodules:

    git clone --recursive https://github.com/fabiocarrara/deep-parking.git
  2. Download the datasets using the following links and extract them somewhere.

    Dataset Link Size
    CNRPark http://cnrpark.it/dataset/CNRPark-Patches-150x150.zip 36.6 MB
    CNR-EXT http://cnrpark.it/dataset/CNR-EXT-Patches-150x150.zip 449.5 MB
    PKLot visit PKLot webpage 4.6 GB
  3. Get the dataset splits and extract them in the repo folder

    # Listfile containing dataset splits
    wget http://cnrpark.it/dataset/splits.zip
    unzip splits.zip
  4. Add a config.py files inside each folder in splits/ to tell pyffe where the images are. The content of the files should be like this (adjust the root_dir attribute to the absolute path of the extracted datasets):

    config = dict(root_folder = '/path/to/dataset/dir/')

    This path will be prepended to each line in the list files defining the various splits.

  5. Train and evaluate all the models by running:

    python main.py

    Modify main.py to select the experiments you want to reproduce. Run pklot.py if you want to train and evaluate our architecture on the PKLot splits only.

Citation

@article{amato2017deep,
  title={Deep learning for decentralized parking lot occupancy detection},
  author={Amato, Giuseppe and Carrara, Fabio and Falchi, Fabrizio and Gennaro, Claudio and Meghini, Carlo and Vairo, Claudio},
  journal={Expert Systems with Applications},
  volume={72},
  pages={327--334},
  year={2017},
  publisher={Pergamon}
}

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.