All Projects → Teoge → Dmpr Ps

Teoge / Dmpr Ps

Licence: gpl-3.0
DMPR-PS: A Novel Approach for Parking-Slot Detection Using Directional Marking-Point Regression

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Dmpr Ps

Kittibox
A car detection model implemented in Tensorflow.
Stars: ✭ 388 (+743.48%)
Mutual labels:  autonomous-driving
Autorally
Software for the AutoRally platform
Stars: ✭ 595 (+1193.48%)
Mutual labels:  autonomous-driving
Chosuntruck
Euro Truck Simulator 2 autonomous driving solution
Stars: ✭ 706 (+1434.78%)
Mutual labels:  autonomous-driving
Mscnn
Caffe implementation of our multi-scale object detection framework
Stars: ✭ 397 (+763.04%)
Mutual labels:  autonomous-driving
Deeplabv3
PyTorch implementation of DeepLabV3, trained on the Cityscapes dataset.
Stars: ✭ 511 (+1010.87%)
Mutual labels:  autonomous-driving
Awesome Interaction Aware Trajectory Prediction
A selection of state-of-the-art research materials on trajectory prediction
Stars: ✭ 625 (+1258.7%)
Mutual labels:  autonomous-driving
Apollo
An open autonomous driving platform
Stars: ✭ 19,814 (+42973.91%)
Mutual labels:  autonomous-driving
Kittiseg
A Kitti Road Segmentation model implemented in tensorflow.
Stars: ✭ 873 (+1797.83%)
Mutual labels:  autonomous-driving
Self Driving Car In Video Games
A deep neural network that learns to drive in video games
Stars: ✭ 559 (+1115.22%)
Mutual labels:  autonomous-driving
Ultra Fast Lane Detection
Ultra Fast Structure-aware Deep Lane Detection (ECCV 2020)
Stars: ✭ 688 (+1395.65%)
Mutual labels:  autonomous-driving
Autonomousvehiclepaper
无人驾驶相关论文速递
Stars: ✭ 406 (+782.61%)
Mutual labels:  autonomous-driving
Multinet
Real-time Joint Semantic Reasoning for Autonomous Driving
Stars: ✭ 471 (+923.91%)
Mutual labels:  autonomous-driving
Highway Env
A minimalist environment for decision-making in autonomous driving
Stars: ✭ 674 (+1365.22%)
Mutual labels:  autonomous-driving
Autowarearchitectureproposal.proj
This is the source code of the feasibility study for Autoware architecture proposal.
Stars: ✭ 394 (+756.52%)
Mutual labels:  autonomous-driving
Dig Into Apollo
Apollo notes (Apollo学习笔记) - Apollo learning notes for beginners.
Stars: ✭ 903 (+1863.04%)
Mutual labels:  autonomous-driving
Vpgnet
VPGNet: Vanishing Point Guided Network for Lane and Road Marking Detection and Recognition (ICCV 2017)
Stars: ✭ 382 (+730.43%)
Mutual labels:  autonomous-driving
Apollo Platform
Collections of Apollo Platform Software
Stars: ✭ 611 (+1228.26%)
Mutual labels:  autonomous-driving
Constrained attention filter
(ECCV 2020) Tensorflow implementation of A Generic Visualization Approach for Convolutional Neural Networks
Stars: ✭ 36 (-21.74%)
Mutual labels:  autonomous-driving
Tianbot racecar
DISCONTINUED - MIGRATED TO TIANRACER - A Low cost Autonomous Driving Car Educational and Competition Kit
Stars: ✭ 26 (-43.48%)
Mutual labels:  autonomous-driving
Carla
Open-source simulator for autonomous driving research.
Stars: ✭ 7,012 (+15143.48%)
Mutual labels:  autonomous-driving

DMPR-PS

This is the implementation of DMPR-PS using PyTorch.

Requirements

  • PyTorch
  • CUDA (optional)
  • Other requirements
    pip install -r requirements.txt

Pre-trained weights

The pre-trained weights could be used to reproduce the number in the paper.

Inference

  • Image inference

    python inference.py --mode image --detector_weights $DETECTOR_WEIGHTS --inference_slot
    
  • Video inference

    python inference.py --mode video --detector_weights $DETECTOR_WEIGHTS --video $VIDEO --inference_slot
    

    Argument DETECTOR_WEIGHTS is the trained weights of detector.
    Argument VIDEO is path to the video.
    View config.py for more argument details.

Prepare data

  1. Download ps2.0 from here, and extract.

  2. Download the labels, and extract.
    (In case you want to label your own data, you can use directional_point branch of my labeling tool MarkToolForParkingLotPoint.)

  3. Perform data preparation and augmentation:

    python prepare_dataset.py --dataset trainval --label_directory $LABEL_DIRECTORY --image_directory $IMAGE_DIRECTORY --output_directory $OUTPUT_DIRECTORY
    python prepare_dataset.py --dataset test --label_directory $LABEL_DIRECTORY --image_directory $IMAGE_DIRECTORY --output_directory $OUTPUT_DIRECTORY
    

    Argument LABEL_DIRECTORY is the directory containing json labels.
    Argument IMAGE_DIRECTORY is the directory containing jpg images.
    Argument OUTPUT_DIRECTORY is the directory where output images and labels are.
    View prepare_dataset.py for more argument details.

Train

python train.py --dataset_directory $TRAIN_DIRECTORY

Argument TRAIN_DIRECTORY is the train directory generated in data preparation.
View config.py for more argument details (batch size, learning rate, etc).

Evaluate

  • Evaluate directional marking-point detection

    python evaluate.py --dataset_directory $TEST_DIRECTORY --detector_weights $DETECTOR_WEIGHTS
    

    Argument TEST_DIRECTORY is the test directory generated in data preparation.
    Argument DETECTOR_WEIGHTS is the trained weights of detector.
    View config.py for more argument details (batch size, learning rate, etc).

  • Evaluate parking-slot detection

    python ps_evaluate.py --label_directory $LABEL_DIRECTORY --image_directory $IMAGE_DIRECTORY --detector_weights $DETECTOR_WEIGHTS
    

    Argument LABEL_DIRECTORY is the directory containing testing json labels.
    Argument IMAGE_DIRECTORY is the directory containing testing jpg images.
    Argument DETECTOR_WEIGHTS is the trained weights of detector.
    View config.py for more argument details.

Citing DMPR-PS

If you find DMPR-PS useful in your research, please consider citing:

@inproceedings{DMPR-PS,
Author = {Junhao Huang and Lin Zhang and Ying Shen and Huijuan Zhang and Shengjie Zhao and Yukai Yang},
Booktitle = {2019 IEEE International Conference on Multimedia and Expo (ICME)},
Title = {{DMPR-PS}: A novel approach for parking-slot detection using directional marking-point regression},
Month = {Jul.},
Year = {2019},
Pages = {212-217}
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].