OCDet: Object Center Detection via Bounding Box-Aware Heatmap Prediction on Edge Devices with NPUs

Chen Xin, Thomas Motz, Andreas Hartel, Enkelejda Kasneci
11/23/2024
cs.CV

Official code: chen-xin-94/ocdet (12 stars, Apache-2.0, last commit 2025-03-03).

Abstract

Real-time object localization on edge devices is fundamental for numerous applications, ranging from surveillance to industrial automation. Traditional frameworks, such as object detection, segmentation, and keypoint detection, struggle in resource-constrained environments, often resulting in substantial target omissions. To address these challenges, we introduce OCDet, a lightweight Object Center Detection framework optimized for edge devices with NPUs. OCDet predicts heatmaps representing object center probabilities and extracts center points through peak identification. Unlike prior methods using fixed Gaussian distribution, we introduce Generalized Centerness (GC) to generate ground truth heatmaps from bounding box annotations, providing finer spatial details without additional manual labeling. Built on NPU-friendly Semantic FPN with MobileNetV4 backbones, OCDet models are trained by our Balanced Continuous Focal Loss (BCFL), which alleviates data imbalance and focuses training on hard negative examples for probability regression tasks. Leveraging the novel Center Alignment Score (CAS) with Hungarian matching, we demonstrate that OCDet consistently outperforms YOLO11 in object center detection, achieving up to 23% higher CAS while requiring 42% fewer parameters, 34% less computation, and 64% lower NPU latency. When compared to keypoint detection frameworks, OCDet achieves substantial CAS improvements up to 186% using identical models. By integrating GC, BCFL, and CAS, OCDet establishes a new paradigm for efficient and robust object center detection on edge devices with NPUs. The code is released at https://github.com/chen-xin-94/ocdet.

View on arXivView PDF

Code Implementations(1)

chen-xin-94/ocdetOfficial100%
Apache-2.0

OCDet: Object Center Detection via Bounding Box-Aware Heatmap Prediction on Edge Devices with NPUs

121Python, Jupyter NotebookNov 20, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{xin2024ocdet,
  title  = {OCDet: Object Center Detection via Bounding Box-Aware Heatmap Prediction on Edge Devices with NPUs},
  author = {Chen Xin and Thomas Motz and Andreas Hartel and Enkelejda Kasneci},
  year   = {2024},
  eprint = {2411.15653},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.15653v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2411.15653.svg)](https://codeofpaper.com/paper/2411.15653)

Discussion