Home

Awesome

kitti_native_evaluation

Disclaimer:

Updates:

This code is based on Bo Li's repository: https://github.com/prclibo/kitti_eval with the main differences being some code cleanup and additional AHS metric described in our paper: Joint 3D Proposal Generation and Object Detection from View Aggregation

evaluate_object_3d_offline.cpp evaluates your KITTI detection locally on your own computer using your validation data selected from KITTI training dataset, with the following metrics:

Compilation:

Clone the repo using: git clone https://github.com/asharakeh/kitti_native_evaluation.git

From inside the main folder do:

  1. cmake ./
  2. make

Usage:

Run the evalutaion by:

./evaluate_object_3d_offline groundtruth_dir result_dir

Note that you don't have to detect over all KITTI training data. The evaluator only evaluates samples whose result files exist.

Data Format:

The detection format should be simillar to the KITTI dataset label format with 15 columns representing:

ValuesNameDescription
1typeDescribes the type of object: 'Car', 'Van', 'Truck', 'Pedestrian', 'Person_sitting', 'Cyclist', 'Tram', 'Misc' or 'DontCare'
1truncated-1
1occluded-1
1alphaObservation angle of object, ranging [-pi..pi]
4bbox2D bounding box of object in the image (0-based index): contains left, top, right, bottom pixel coordinates
3dimensions3D object dimensions: height, width, length (in meters)
3location3D object location x,y,z in camera coordinates (in meters)
1rotation_yRotation ry around Y-axis in camera coordinates [-pi..pi]
1scoreOnly for results: Float, indicating confidence in detection, needed for p/r curves, higher is better.

Example:

typetruncatedoccludedalphabboxdimensionslocationrotation_yscore
Pedestrian-1-10.29873.70 152.10 933.44 256.071.87 0.50 0.905.42 1.50 13.430.670.99

Citation:

If you are using this code, please cite our paper:

Joint 3D Proposal Generation and Object Detection from View Aggregation

@article{ku2017joint, title={Joint 3D Proposal Generation and Object Detection from View Aggregation}, author={Ku, Jason and Mozifian, Melissa and Lee, Jungwook and Harakeh, Ali and Waslander, Steven}, journal={arXiv preprint arXiv:1712.02294}, year={2017} }