This project is a Python-based processing pipeline for mmWave radar data. It takes raw ADC data (.bin files), processes it to detect objects, and generates a 3D point cloud visualization video (.mp4).
-
Clone the Repository
git clone [https://github.com/YourUsername/YourRepoName.git](https://github.com/YourUsername/YourRepoName.git) cd YourRepoName -
Download the Data
- The download link for the required raw
.bindata file is located in the text file:bin files/download_link.txt - Download the data and place the
.binfile(s) inside thebin files/folder.
- The download link for the required raw
-
Install Requirements
- It is recommended to use a virtual environment.
- Install all necessary Python libraries from the
requirements.txtfile:
pip install -r requirements.txt
-
Run the Pipeline
- The
main.pyscript will run the entire process from start to finish.
python main.py
- The
-
Get Output
- Processed Data: The intermediate point cloud data will be saved as
.csvfiles in thecsv/folder. - Final Video: The final 3D animations will be saved as
.mp4files in thevid/folder.
- Processed Data: The intermediate point cloud data will be saved as
-
main.py: The main executable script that runs the entire pipeline. It callsmain_processing.pyfirst, thenmaker_3D.py. -
main_processing.py: (FormerlyRaw_Csv.py) This is the core processing logic of the project. It reads the raw.bindata, performs the Range-FFT, Doppler-FFT, CFAR detection, and Angle-FFT to detect objects and generate a point cloud. -
maker_3D.py: This script reads the processed.csvfiles and usesmatplotlibto generate and save the final 3D point cloud animations. -
resources/: This folder contains the original C code. The logic in these files was used as a reference and guide to create the Python-based processing algorithms inmain_processing.py. -
bin files/: This folder is for the raw.bindata files. It contains adownload_link.txtwith a link to the sample data. -
csv/: This is the output folder for the processed.csvpoint cloud data. -
vid/: This is the final output folder for the generated.mp4videos.