This project uses mmWave radars for some computer vision tasks. It supports real-time data streaming, processing and visualization from a Texas Instruments (TI) mmWave radar board to a PC. It can be used for either point cloud data (with the TI out-of-box demo firmware) or raw data (with the TI DCA1000EVM board and an appropriate firmware), or point cloud and raw data at the same time!
- Install Python (tested with 3.9) and install dependencies with
pip install -r requirement.txt. - Make sure the OOB demo firmware is loaded, and the SOP is set to mode 4 (
100, SOP 0-2: close/open/open or on/off/off). Note this is different to the mmWave studio doc asking for SOP mode 2 (110).
This project allows point cloud capturing from the radar. Before running this project, it is strongly recommended to test the hardware setup using the TI mmWave Demo Visualizer (Instruction). This ensures that the radar board is working properly with the correct firmware, and the drivers are installed. Or install the standalone xds110 driver.
- Check device manager to find the COM port (User & Data) of the radar.
- Modify
config.pyto specify the COM port and radar location. - Modify
demo.pyto select the radar(s) (and order). - Run
python demo.py.
This project allows raw data capturing from the radar using the TI DCA1000EVM board, bypassing the mmWave studio software. The backend of this project uses a modified version of the TI DCA1000CLI tool. Before running this project, it is strongly recommended to test the hardware setup using the TI mmWave studio (Instruction). This ensures that the radar board and the DCA1000EVM are working properly with the correct firmware, and the drivers are installed.
- Check device manager to find the COM port (User & Data) of the radar.
- Modify
config.pyto specify the COM port. - Configure the IP of Ethernet adaptor to static:
192.168.33.30. - Modify
fileBasePathindca1000/dca1000.json, - Modify and run
python demo_dca1000.pyfor raw data only orpython demo_dca1000_pointcloud.pyfor raw data + point cloud.
If you find this work useful, please consider cite:
@article{Cui21,
author={Cui, Han and Dahnoun, Naim},
journal={IEEE Aerospace and Electronic Systems Magazine},
title={High Precision Human Detection and Tracking Using Millimeter-Wave Radars},
year={2021},
volume={36},
number={1},
pages={22-32},
doi={10.1109/MAES.2020.3021322}}