# Tools
**Repository Path**: GhostDancer/tools
## Basic Information
- **Project Name**: Tools
- **Description**: No description available
- **Primary Language**: Python
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 2
- **Forks**: 0
- **Created**: 2022-05-04
- **Last Updated**: 2022-11-06
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# Tools for our group
### Run Script
Once GPU is empty, automatically run the code.
### Parse Results from Log
Given a log file in KITTI format, we can parse 3D mAP and plot the log.
### Statistic Center Distribution
Statistic (x,y,z) location of all 3D boxes, used to calculate POINT_CLOUD_RANGE.
### Adjust Annotations
Convert annotations into 3 categories, put DontCare annotations at last.
### Statistic Box Mean Size
Statistic box mean size, used to calculate mean_size in BOX_CODER_CONFIG.
### pcd2npy
Convert lidar file from .pcd to .npy, to avoid the incompatibility between open3d and torch.
### pcd-visualizer
Visualize the dair-v2x pcd file(.pcd).
The x line show the directory of the labels.
You can use this file like follows:
```
python pcd-visualizer/pcd-visualizer.py --pcd-file 000010.pcd --label-file 000010_cameralabel.json --show-range True
```
### frame2gif
Visualize online action detection results in the GIF format.