{"title":"SegTrackDetect: A window-based framework for tiny object detection via semantic segmentation and tracking","authors":"Aleksandra Kos , Karol Majek , Dominik Belter","doi":"10.1016/j.softx.2025.102110","DOIUrl":null,"url":null,"abstract":"<div><div>This work introduces SegTrackDetect, an open-source, window-based framework for small and tiny object detection. Detecting tiny objects in high-resolution images is essential for real-time applications such as autonomous navigation and surveillance but is challenging due to the computational complexity of processing large images while maintaining the speed needed for timely decision-making. The proposed framework addresses this challenge by performing inference in selected regions only, significantly reducing the computational burden compared to standard sliding window methods. Thanks to full-resolution inference within these selected regions, lightweight detectors can be employed, further accelerating the process. The framework selects detection sub-windows based on Regions of Interest (ROIs) generated by the ROI Estimation and ROI Prediction modules. The ROI Estimation Module creates binary masks of ROIs from input images, while the ROI Prediction Module uses an object tracker to predict object locations in the current frame based on previous detections. Detections from multiple sub-windows are aggregated and filtered to eliminate redundancies, ensuring high-quality results. SegTrackDetect is optimized with inference speed in mind, offering a highly efficient pipeline while providing users with the flexibility to customize models. It supports a wide range of industrial and research applications by allowing users to adjust model parameters and incorporate new models with custom pre- and post-processing functions. It is compatible with both image and video data, automatically determining the data type from the dataset structure. SegTrackDetect is especially well-suited for tasks such as drone or satellite-based tiny object detection. The code is available at <span><span>https://github.com/deepdrivepl/SegTrackDetect</span><svg><path></path></svg></span>.</div></div>","PeriodicalId":21905,"journal":{"name":"SoftwareX","volume":"30 ","pages":"Article 102110"},"PeriodicalIF":2.4000,"publicationDate":"2025-03-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"SoftwareX","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2352711025000779","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"COMPUTER SCIENCE, SOFTWARE ENGINEERING","Score":null,"Total":0}
引用次数: 0
Abstract
This work introduces SegTrackDetect, an open-source, window-based framework for small and tiny object detection. Detecting tiny objects in high-resolution images is essential for real-time applications such as autonomous navigation and surveillance but is challenging due to the computational complexity of processing large images while maintaining the speed needed for timely decision-making. The proposed framework addresses this challenge by performing inference in selected regions only, significantly reducing the computational burden compared to standard sliding window methods. Thanks to full-resolution inference within these selected regions, lightweight detectors can be employed, further accelerating the process. The framework selects detection sub-windows based on Regions of Interest (ROIs) generated by the ROI Estimation and ROI Prediction modules. The ROI Estimation Module creates binary masks of ROIs from input images, while the ROI Prediction Module uses an object tracker to predict object locations in the current frame based on previous detections. Detections from multiple sub-windows are aggregated and filtered to eliminate redundancies, ensuring high-quality results. SegTrackDetect is optimized with inference speed in mind, offering a highly efficient pipeline while providing users with the flexibility to customize models. It supports a wide range of industrial and research applications by allowing users to adjust model parameters and incorporate new models with custom pre- and post-processing functions. It is compatible with both image and video data, automatically determining the data type from the dataset structure. SegTrackDetect is especially well-suited for tasks such as drone or satellite-based tiny object detection. The code is available at https://github.com/deepdrivepl/SegTrackDetect.
这项工作介绍了SegTrackDetect,一个开源的,基于窗口的框架,用于小型和微小的目标检测。在高分辨率图像中检测微小物体对于自主导航和监视等实时应用至关重要,但由于处理大型图像的计算复杂性,同时保持及时决策所需的速度,因此具有挑战性。所提出的框架通过仅在选定区域执行推理来解决这一挑战,与标准滑动窗口方法相比,大大减少了计算负担。由于在这些选定区域内有全分辨率推断,可以使用轻型探测器,进一步加速这一过程。该框架根据ROI估计和ROI预测模块生成的ROI (region of Interest)来选择检测子窗口。ROI估计模块从输入图像中创建ROI的二进制掩模,而ROI预测模块使用目标跟踪器根据先前的检测来预测当前帧中的目标位置。来自多个子窗口的检测被聚合和过滤,以消除冗余,确保高质量的结果。SegTrackDetect在考虑推理速度的情况下进行了优化,提供了高效的管道,同时为用户提供了定制模型的灵活性。它支持广泛的工业和研究应用,允许用户调整模型参数,并将新模型与自定义预处理和后处理功能相结合。它兼容图像和视频数据,从数据集结构自动确定数据类型。SegTrackDetect特别适合无人机或基于卫星的微小物体检测等任务。代码可在https://github.com/deepdrivepl/SegTrackDetect上获得。
期刊介绍:
SoftwareX aims to acknowledge the impact of software on today''s research practice, and on new scientific discoveries in almost all research domains. SoftwareX also aims to stress the importance of the software developers who are, in part, responsible for this impact. To this end, SoftwareX aims to support publication of research software in such a way that: The software is given a stamp of scientific relevance, and provided with a peer-reviewed recognition of scientific impact; The software developers are given the credits they deserve; The software is citable, allowing traditional metrics of scientific excellence to apply; The academic career paths of software developers are supported rather than hindered; The software is publicly available for inspection, validation, and re-use. Above all, SoftwareX aims to inform researchers about software applications, tools and libraries with a (proven) potential to impact the process of scientific discovery in various domains. The journal is multidisciplinary and accepts submissions from within and across subject domains such as those represented within the broad thematic areas below: Mathematical and Physical Sciences; Environmental Sciences; Medical and Biological Sciences; Humanities, Arts and Social Sciences. Originating from these broad thematic areas, the journal also welcomes submissions of software that works in cross cutting thematic areas, such as citizen science, cybersecurity, digital economy, energy, global resource stewardship, health and wellbeing, etcetera. SoftwareX specifically aims to accept submissions representing domain-independent software that may impact more than one research domain.