takeyamayuki / livox_detection

Livox open source detection algorithm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Livox Detection V2.0

The detector in Livox Detection v2.0 now supports multiple point cloud datasets with different patterns. Combined with the advantages of HAP, this detector can achieve better perception performance compared with the Horizon. Another improvement is that we adopt anchor-free method inspired by CenterPoint to make the detector more flexible dealing with the multiple datasets. The range of the available detection filed is forward 200m * 89.6m and the latency is about 45ms on 2080Ti.

Demo: HAP1 HAP2 Horizon 64

News

  • 2022.08.08 : livox_detection V2.0 released: Support multiple point cloud datasets with different patterns. The range of the available detection filed is forward 200m * 89.6m and the latency is about 45ms on 2080Ti
  • 2020.11.26 : livox_detection V1.1 released: Support 360 degree detection (200m * 100m) with Livox lidars, run at least 20FPS on 2080Ti
  • 2020.08.31 : livox_detection V1.0 released: 100m*50m detction for single Livox lidars, run at least 90FPS on 2080Ti

Features

  • Anchor-free method
  • Support multiple point cloud datasets with different patterns.

Setup

  1. Install dependencies (Following dependencies have been tested.).
    • CUDA Toolkit: 10.2
    • python: 3.8
    • numpy: 1.23.1
    • pytorch: 1.8.2
    • ros: melodic
    • rospkg: 1.4.0
    • ros_numpy: 0.0.3 (sudo apt-get install ros-$ros_release-ros-numpy)
    • pyyaml
    • argparse
  2. Build this project
python3 setup.py develop

Usage

  1. Run ROS.
roscore
  1. Move to 'tools' directory and run test_ros.py (pretrained model: ../pt/livox_model_1.pt or ../pt/livox_model_2.pt).
cd tools
python3 test_ros.py --pt ../pt/livox_model_1.pt
  1. Play rosbag. (Please adjust the ground plane to 0m and keep it horizontal. The topic of pointcloud2 should be /livox/lidar)
rosbag play [bag path]
  1. Visualize the results.
rviz -d rviz.rviz

Acknowledgements

Contact

You can get support from LIVOX through the following methods:

  • Send an email to cs@livoxtech.com with a clear description of your problem.
  • Submit issues on github.

About

Livox open source detection algorithm

License:Apache License 2.0


Languages

Language:Python 56.3%Language:C++ 25.6%Language:Cuda 18.0%Language:Shell 0.1%