Giter Club home page Giter Club logo

3d_detection_kit's Introduction

3D Detection Kit

This repo contains several useful scripts which using for 3D detection algorithm development. Including:

  • Loading and visualization on lidar point cloud;

  • Generate bev map(bird view map);

  • Showing 3D Bounding box on point cloud;

  • Project 3D Bounding Box on image with calib params;

  • Showing bbox on bev image angle;

Updates

  • 2020-: to be continue.
  • 2019-02-27: Update vis_3d, it can using mayavi visualization point cloud with 3D bounding box now.

Usage

directly using:

python3 show_pc.py

and you can see point cloud. you should also install open3d first, using:

sudo pip3 install open3d-python

Tutorials

to get more information, you can visit our community forum to talk: http://talk.strangeai.pro

convert point cloud to bev map

To get an bev map for point cloud. it should construct a image with certain width and height, then every pixel value should be the z, if there is no point from top view, then z should be 0, so that bev image would be black. So to construct a bev map, should crop the point cloud first, then make x,y coordinates min to be 0, which is mapping x, y to image coordinates. After that, mapping z values to 0~255 which will be using for pixel values. There mainly 3 things to make it done:

  • Crop the point cloud to certain range, like left-right range, back-forward range;
  • Shifting x, y values to min be 0;
  • Mapping z to image pixel values.

Copyright

The codes opensource under MIT license. All right belongs to Jin Fagang

3d_detection_kit's People

Contributors

lucasjinreal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

3d_detection_kit's Issues

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.