Giter Site home page Giter Site logo

vps-net's Introduction

VPS-Net

A vacant parking slot detection method in the around view image based on deep learning.

Requirement

We ran our experiments with PyTorch 1.0.1, CUDA 9.0, Conda with Python 3.6 and Ubuntu 16.04.

Installation

Clone and install requirements
$ git clone https://github.com/weili1457355863/VPS-Net.git
$ cd VPS-Net
$ conda create --name vps-net python=3.6
$ conda activate vps-net
$ pip install -r requirements.txt
Download pretrained weights
$ mkdir weights
$ cd weights/

Download the weights of detection network and classification network.

Download ps2.0 and PSV dataset
$ mkdir data
$ cd data/

Download the ps2.0 dataset or the PSV dataset

Test

Uses pretrained weights to detect the vacant parking slot in the around view image.

$ vps_net.py [-h] [--input_folder INPUT_FOLDER]
                  [--output_folder OUTPUT_FOLDER] [--model_def MODEL_DEF]
                  [--weights_path_yolo WEIGHTS_PATH_YOLO]
                  [--weights_path_vps WEIGHTS_PATH_VPS]
                  [--conf_thres CONF_THRES] [--nms_thres NMS_THRES]
                  [--img_size IMG_SIZE] [--save_files SAVE_FILES]

Example (ps2.0 dataset)

Test on the ps2.0 dataset. The detection results including images and files will be saved.

$ python vps_net.py --input_folder data/ps2.0/testing/all --save_files 1

Testing results

Extral annotation

In order to facilitate other researchers, the annoation for vacant parking slots of ps 2.0 and PSV datasets has been made publicly avaliable.

Citation

@article{li_vacant_2020,
	title = {Vacant Parking Slot Detection in the Around View Image Based on Deep Learning},
	volume = {20},
	doi = {10.3390/s20072138},
	pages = {2138},
	journal = {Sensors},
	author = {Li, Wei and Cao, Libo and Yan, Lingbo and Li, Chaohui and Feng, Xiexing and Zhao, Peijie},
	date = {2020-04-10}
}

vps-net's People

Contributors

weili1457355863 avatar

Watchers

James Cloos 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.