GithubHelp home page GithubHelp logo

daidai321 / hha-tffem Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 3.71 MB

code for the paper "3D Sensor-based Pedestrian Detection by Integrating Improved HHA Encoding and Two-branch Feature Fusion."

MATLAB 0.41% Python 99.59%

hha-tffem's Introduction

HHA-TFFEM

code for the paper "3D Sensor-based Pedestrian Detection by Integrating Improved HHA Encoding and Two-branch Feature Fusion."

The code consists of two parts, one is the improved HHA encoding (Improved HHA) , and the other is RGB-D pedestrian detection (RGBD_Detect).

Improved HHA

  1. the code is implemented in the Matlab platform and win10.

  2. depth image and camera intrinsics are used as input.

  3. The algorithm is based on the work "Learning Rich Features from RGB-D Images for Object Detection and Segmentation", and the code also refers to the official code provided by them.

  4. The improved HHA encoding is faster and the encoding results are more consistent. We validate the performance of our HHA encoding method on several RGB-D datasets, including KITTI, EPFL, KTP, and UNIHall. Detailed comparison results can be found in the paper.

RGBD Pedestrain Detection

We proposed a two-branch feature fusion extraction module (TFFEM) to obtain both modalities' local and global features. Based on TFFEM, an RGB-D pedestrian detection network is designed to locate the people, with RGB and HHA images as inputs.

Install dependence

the code is based on the mmdetection. Therefore, the mmdetection is needed to install according to their guidelines. Then replace the mmdet file we provided.

Prepare the dataset

Take the KITTI dataset as an example. First download the dataset and create some directories.

└── KITTI_DATASET_ROOT
       ├── training    <-- 7481 train data
       |   ├── images <-- (image_2)
       |   ├── hha
       |   ├── labels <-- (label_2)
       └── testing     <-- 7580 test data
           ├── images <-- (image_2)
           ├── hha
           ├── labels <-- (label_2)

The HHA data obtained from the previous section or you can directly download from here (Extraction code:TFFE)

Then create the JSON file and replace it in the mmdetection project.

python createjson.py

train

python train.py

hha-tffem's People

Contributors

daidai321 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

rock-l21

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.