The Design and Implementation of a Motion Target Control and Automatic Tracking System Based on OpenMV
This design produces two independent motion target control systems and automatic tracking systems.The two systems do not communicate with each other and have their own STM32F103 controller,OpenMV machine vision module,PTZ,OLED,etc.In the motion target control system,the red laser pen is fixed on PTZ.By adjus-ting the PWM duty cycle to change the horizontal and vertical angles of PTZ,the laser pen is directed towards the center of the 50cm50cm screen and around the edge line for one cycle.By collecting the four corner coordinates of A4 target paper through OpenMV and calculating the corresponding relationship between the coordinates and the PTZ angle,the red laser pen can circle the black border at any angle around the task position for one cycle.In the automatic tracking system,both the red laser pen and OpenMV are fixed on the two-dimensional PTZ,and the OpenMV image is used to collect the position of the red spot.After calculation,the PTZ angle is adjusted to auto-matically track the red spot on the screen.