VNPT AI's winning solution to Track 4 — Road Object Detection in Fish-Eye CamerasGiải pháp đạt giải nhất của VNPT AI cho Track 4 — Phát hiện đối tượng giao thông trên camera fisheye
In recent years, traffic surveillance systems have begun leveraging fisheye lenses to minimize the requisite number of cameras for comprehensive coverage of streets and intersections. However, as fisheye images have large radial distortion, they pose new challenges to standard object detection algorithms. In this study, we propose a robust object detection method in traffic scenarios using fisheye cameras. Specifically, we develop a novel data augmentation method, which is applied to VisDrone dataset. Note that we select this dataset for augmentation, since it bears resemblances to the Fisheye8K dataset. Furthermore, we leverage pseudo labels generated by a pre-trained object detection model based on the Fisheye8K and original VisDrone dataset to further enrich the training data. Finally, we utilize various state-of-the-art object detection models trained with different combinations of the proposed augmented data, which are then combined with robust ensemble techniques to further enhance the overall object detection performance. As a result, our proposed method achieves a final F1 score of 64.06% on the 2024 AI City Challenge - Track 4 and ranks first among the competing teams.Những năm gần đây, các hệ thống giám sát giao thông bắt đầu sử dụng ống kính mắt cá (fisheye) để giảm số lượng camera cần thiết mà vẫn bao quát được đường phố và giao lộ. Tuy nhiên, ảnh fisheye có độ méo xuyên tâm lớn, đặt ra thách thức mới cho các thuật toán phát hiện đối tượng tiêu chuẩn. Trong nghiên cứu này, chúng tôi đề xuất một phương pháp phát hiện đối tượng bền vững cho bối cảnh giao thông sử dụng camera fisheye. Cụ thể, chúng tôi xây dựng một phương pháp tăng cường dữ liệu mới áp dụng cho bộ dữ liệu VisDrone — được chọn vì có nhiều điểm tương đồng với bộ dữ liệu Fisheye8K. Ngoài ra, chúng tôi tận dụng nhãn giả sinh ra bởi một mô hình phát hiện đối tượng đã huấn luyện trên Fisheye8K và VisDrone gốc để làm giàu thêm dữ liệu huấn luyện. Cuối cùng, chúng tôi sử dụng nhiều mô hình phát hiện đối tượng hiện đại, huấn luyện với các tổ hợp dữ liệu tăng cường khác nhau, rồi kết hợp chúng bằng kỹ thuật ensemble bền vững để nâng cao hiệu năng tổng thể. Kết quả, phương pháp đạt F1 cuối cùng 64,06% tại AI City Challenge 2024 – Track 4 và xếp hạng nhất trong các đội tham gia.
Source: CVPR 2024 Workshops paper.Nguồn: bài báo tại CVPR 2024 Workshops (bản tiếng Việt được dịch).
Detect road users in images from fisheye traffic cameras, whose strong radial distortion stretches and bends objects near the edge of the frame.Phát hiện các đối tượng giao thông trong ảnh từ camera fisheye — loại ảnh có độ méo xuyên tâm lớn khiến đối tượng ở rìa khung hình bị kéo giãn và uốn cong.
FishEye8K: 5,288 training and 2,712 validation images (1080×1080 and 1280×1280, 157K boxes). Test set: FishEye1K-eval, 1,000 images from 11 unseen cameras.FishEye8K: 5.288 ảnh huấn luyện và 2.712 ảnh validation (1080×1080 và 1280×1280, 157 nghìn box). Tập kiểm thử: FishEye1K-eval gồm 1.000 ảnh từ 11 camera chưa xuất hiện khi huấn luyện.
Bus, Bike, Car, Pedestrian, Truck
F1-score — the harmonic mean of total precision and recall over the test set.F1-score — trung bình điều hòa giữa precision và recall tổng trên tập kiểm thử.
Diagram summarising Sections 3–4 of the paper.Sơ đồ tóm tắt Mục 3–4 của bài báo.
| RankHạng | Team ID | TeamĐội | F1 |
|---|---|---|---|
| 1 | 9 | VNPT AI | 0.6406 |
| 2 | 40 | Nota | 0.6196 |
| 3 | 5 | SKKU-AutoLab | 0.6194 |
| 4 | 63 | UIT_AICLUB | 0.6077 |
| 5 | 15 | SKKU-NDSU | 0.5965 |
| 6 | 33 | MCPRL | 0.5883 |
From the official 2024 challenge results — Track 4 winner: Team 9, VNPT AI.Theo kết quả chính thức năm 2024 — đội thắng Track 4: Team 9, VNPT AI.
| ConfigurationCấu hình | F1 (%) |
|---|---|
| Baseline — Co-DETR, fold 0Cơ sở — Co-DETR, fold 0 | 57.02 |
| + pseudo-labels+ nhãn giả | 62.46 |
| + synthetic VisDrone + ensemble (final)+ Synthetic VisDrone + ensemble (cuối cùng) | 64.06 |
| ModelMô hình | Extra training dataDữ liệu bổ sung | mAP0.5:0.95 |
|---|---|---|
| Co-DETR (Swin-L) | nonekhông | 47.00 |
| Co-DETR (Swin-L) | VisDrone | 49.05 |
| Co-DETR (Swin-L) | Synthetic VisDrone | 45.78 |
| YOLOv9-e | VisDrone | 43.89 |
| YOLOR-W6 | VisDrone | 43.47 |
| InternImage-L | VisDrone | 41.11 |
Ablation and validation numbers are from the paper (Tables 1, 2 and 9).Số liệu ablation và validation lấy từ bài báo (Bảng 1, 2 và 9).
infer/fuse_results.pyBước cuối: infer/fuse_results.py# Setup git lfs install git clone https://github.com/VNPT-AI-Official/AICITY2024_Track4.git cd AICITY2024_Track4 pip install -r requirements.txt # VisDrone -> YOLO labels (mapped to FishEye8K classes), then fisheye conversion python ./dataprocessing/format_conversion/visdrone2yolo.py --data_path ./dataset/visdrone/VisDrone2019-DET-train python ./dataprocessing/ifish_augmentation/convert_visdrone.py --src_path ./dataset/visdrone --trg_path ./dataset/synthetic_visdrone --distortion 0.5 --data_type VisDrone2019-DET-train --crop True
# Train (example: Co-DETR on VisDrone + FishEye8K fold 0, 4 GPUs) cd ./train/CO-DETR tools/dist_train.sh projects/CO-DETR/configs/codino/train_fold0.py 4 # Inference (example: Co-DETR fold 0) cd ./infer/CO-DETR tools/dist_test.sh projects/CO-DETR/configs/codino/infer_fold0.py ../../checkpoints/best_vis_fish_fold0.pth 4 # Ensemble all model outputs with WBF cd ./infer/ python fuse_results.py
Condensed from the repository README — see the README for the environment of each detector, every training/inference command and the checkpoints.Rút gọn từ README của repo — xem README để biết môi trường cho từng bộ phát hiện, đầy đủ lệnh huấn luyện/inference và checkpoint.
@InProceedings{Duong_2024_CVPR,
author = {Duong, Viet Hung and Nguyen, Duc Quyen and Van Luong, Thien and Vu, Huan and Nguyen, Tien Cuong},
title = {Robust Data Augmentation and Ensemble Method for Object Detection in Fisheye Camera Images},
booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) Workshops},
month = {June},
year = {2024},
pages = {7017-7026}
}