Code Monkey home page Code Monkey logo

didi-competition-solution's Introduction

This repository was forked from omgteam/Didi-competition-solution

DiDi competition

Here you can find more info about the challenge.

This repository is to provide visualization, calibration, detection ROS nodes.

Instructions:

Install ROS:

Follow instructions you find in this page.

Download dataset:

  • Download the 22GB dataset from here.

Setup:

$ git clone https://github.com/omgteam/Didi-competition-solution.git

$ cd Didi-competition-solution

$ catkin_make

$ source devel/setup.bash

Visualization (Done)

To visualize Dataset Release 2, we need to convert topic /velodyne_packets to /velodyne_points:

First install ROS velodyne drivers in https://github.com/ros-drivers/velodyne.git, then:

$ roslaunch velodyne_pointcloud 32e_points.launch

$ roslaunch didi_visualize display_rosbag_rviz.launch rosbag_file:=PATH/NAME.bag

This module is borrowed from https://github.com/jokla/didi_challenge_ros.

Simple ROS Example (Doing)

Write a simple script to subscribe the msgs from the sensors' topics and publish to new topics, you can reference ./src/round1/scripts/img_example.py

To test the script, this is how to replay the bags in loops:

$ rosbag play PATH/NAME.bag -l

This is how to run the single script which subscribes and publishes images topics:

$ rosrun round1 img_example.py

It will show subscribe imgs successfully

Object detection (Doing)

To detect cars, we use lidar and radar sensor info to generate proposals, then project into 2D image and classify target type(car, pedestrian, cyclist, background) and regress to targets. This kind of solution can handle object detection within range of 170 meters.

Proposal type: focus point (x,y,z); 3D proposal (x,y,z,w,l,h).

Projection function: 2D box with focus point at center (box's height and width is function of distance of focus point); Projection of 3D proposal (x,y,z,w,l,h).

Classifier and Regressor: CNN classification and regressor.

How to use history detection info to avoid redundant detection and boost detection accuracy. To avoid redundant detection, recognize stationary obstacles. To boost detection accuracy, we can use trajectory smooth techiniques presented in [1].

[1] Jiang, Chunhui, et al. "A trajectory-based approach for object detection from video." Neural Networks (IJCNN), 2016 International Joint Conference on. IEEE, 2016.

didi-competition-solution's People

Contributors

g41903 avatar

Stargazers

Junlong Liu avatar

Watchers

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