AI-Powered Embedded System for Rapid Detection of Veterinary Antibiotic Residues in Food-Producing Animals

用于快速检测食用动物体内兽用抗生素残留的AI嵌入式系统

阅读:3

Abstract

Background: Veterinary antibiotics are widely used in food-producing animals, raising public health concerns due to drug residues and the risk of antimicrobial resistance. Rapid and reliable detection systems are critical to ensure food safety and regulatory compliance. Colloidal gold immunoassay (CGIA)-based antigen-antibody test cards are widely used in food safety for the rapid screening of veterinary antibiotic residues. However, manual interpretation of test cards remains inefficient and inconsistent. Methods: To address this, we propose a complete AI-based detection system for veterinary antibiotic residues. The system is built on the Rockchip RK3568 platform and integrates a five-megapixel OV5640 autofocus USB camera (60° field of view) with a COB LED strip (6000 K, rated 5 W/m). It enables high-throughput, automated interpretation of colloidal gold test cards and can generate structured detection reports for regulatory documentation and quality control. The core challenge lies in achieving accurate and fast inference on resource-constrained embedded devices, where traditional detection networks often struggle to balance model size and performance. To this end, we propose VetStar, a lightweight detection algorithm specifically optimized for this task. VetStar integrates StarBlock, a shallow feature extractor, and Depthwise Separable-Reparameterization Detection Head (DR-head), a compact, partially decoupled detection head that accelerates inference while preserving accuracy. Results: Despite its compact size, with only 0.04 M parameters and 0.3 GFLOPs, VetStar maintains strong performance after distillation with the Bridging Cross-task Protocol Inconsistency Knowledge Distillation (BCKD) method. For our custom Veterinary Drug Residue Rapid Test Card (VDR-RTC) dataset, it achieves an mAP50 of 97.4 and anmAP50-95of 89.5. When deployed on the RK3568 device, it delivers results in just 5.4 s-substantially faster than comparable models. Conclusions: These results highlight the system's strong potential for high-throughput, cost-effective, and rapid veterinary antibiotic residue screening, supporting food safety surveillance efforts.

特别声明

1、本页面内容包含部分的内容是基于公开信息的合理引用;引用内容仅为补充信息,不代表本站立场。

2、若认为本页面引用内容涉及侵权,请及时与本站联系,我们将第一时间处理。

3、其他媒体/个人如需使用本页面原创内容,需注明“来源:[生知库]”并获得授权;使用引用内容的,需自行联系原作者获得许可。

4、投稿及合作请联系:info@biocloudy.com。