Antennas-TDT is a Python-based tool for the automatic detection, segmentation, and classification of antennas on telecommunication towers.
It integrates a NeRF-based 3D reconstruction pipeline powered by Nerfstudio with a custom geospatial and deep learning toolkit (TDT-Tool).
Developed by the TIDOP Research Group — University of Salamanca (Spain).
The Antennas-TDT workflow consists of two components:
| Component | Description |
|---|---|
| nerfstudio_tdt | A Conda environment with Nerfstudio, PyTorch, and CUDA 11.8. Used to process COLMAP and NeRF training. |
| tdt-tool | The main Python package implementing antenna detection, segmentation, and classification. Runs on top of the nerfstudio_tdt environment. |
The pipeline automatically performs:
- 3D reconstruction (NeRF)
- Georeferencing and cropping
- Antenna detection (YOLO-based)
- Segmentation and classification
- Final 3D model export in PLY format
- Windows 10/11 (64-bit)
- NVIDIA GPU compatible with CUDA ≥ 11.8
- Anaconda or Miniconda
- Latest NVIDIA drivers (
nvidia-smishould work) - CloudCompare ≥ 2.12 — required for point cloud post-processing and visualization
⚠️ CloudCompare is an external tool, not a Python package.
Download and install it manually from the official website.
It is recommended to add its installation folder to your systemPATHso it can be called from the command line.
- Open an Anaconda Prompt.
- Navigate to the project folder:
cd Antennas-TDT
- Create the environment using the BAT file:
install_nerfstudio_gpu.bat
- Activate it and verify CUDA and PyTorch (optional):
conda activate nerfstudio_tdt
python -c "import torch; print('PyTorch', torch.__version__, 'CUDA', torch.version.cuda, 'GPU available?', torch.cuda.is_available())"
✅ Expected output:
PyTorch 2.1.2 CUDA 11.8 GPU available? True
If the verification fails, check that your NVIDIA driver is up to date and supports CUDA 11.8.
- Open an Anaconda Prompt.
- Navigate to the project folder:
cd Antennas-TDT
- Create the environment using the YML file:
conda env create -f env-main_tdt.yml
- Activate it:
conda activate tdt-tool
🚀 Usage Once installed, you can run the full pipeline:
conda run -n tdt-tool python main.py "C:\Path\To\Your\ProjectFolder"
Expected folder structure:
ProjectFolder/
├── images/
└── (output generated automatically)