本文已被:浏览 1509次 下载 661次
投稿时间:2020-02-28
投稿时间:2020-02-28
中文摘要: 利用Arduino设计并实现了一种目标跟踪系统。该系统包括图像采集处理、基于Arduino开发的下位机软件和舵机云台3个模块。相机实时接收图像,对捕获到的图像进行预处理,调用OpenCV中的函数对图像进行霍夫圆检测。计算机通过串口与Arduino开发板连接,将图形位置信息数据实时发送。通过Arduino控制舵机的转动角度,精确调整相机的方位、俯仰姿态,完成实时的目标追踪。实验结果表明,在使用Python开发的计算机软件中,通过动态目标视觉检测以及PID控制的角度输出,舵机云台实现了很好的控制效果,使二维转台实现圆形识别跟踪。
Abstract:A recognition and tracking system is designed and implemented by Arduino.The graphic recognition tracking system includes three modules, i.e,:PC upper computer software module, lower computer software developed based on Arduino module and actuator PAN/TILT.The upper computer receives the image in real time, and calls the function in OpenCV to perform Huff circle detection on the images after pre-processing.The computer communicates with the Arduino development board through the serial port, sends the graphic position information data in real time.Arduino controls the rotation angle of the actuator, adjust the camera's azimuth and pitch attitude precisely to achieve real-time target tracking.The experimental results show that using the upper computer software developed by Python, through dynamic target visual detection and PID control of the angle output, the actuator PAN/TILT achieves effectively control, makes the two-dimensional turntable realize circles recognition and tracking.
文章编号:20213015 中图分类号:TP391.4 文献标志码:
基金项目:国家自然科学基金(11804263,11747119)。
引用文本:
杨传琪,杨树蔚,刘咏梅,等.基于Arduino的目标跟踪系统设计[J].上海电力大学学报,2021,37(3):284-288.
YANG Chuanqi,YANG Shuwei,LIU Yongmei,et al.Design of Target Recognition and Tracking System Based on Arduino[J].Journal of Shanghai University of Electric Power,2021,37(3):284-288.
杨传琪,杨树蔚,刘咏梅,等.基于Arduino的目标跟踪系统设计[J].上海电力大学学报,2021,37(3):284-288.
YANG Chuanqi,YANG Shuwei,LIU Yongmei,et al.Design of Target Recognition and Tracking System Based on Arduino[J].Journal of Shanghai University of Electric Power,2021,37(3):284-288.