Contents

RuneDetection

   Jul 30, 2023     2 min read


Key-Points Detection of Power Rune for RoboMaster

  • 😎TopDown structure: Key-Points detection based on YOLOX and RTMPose.
  • âš¡Extremely high speed: 6ms for object detection part, 1.8ms for points detection part.
  • 🌈Easy to Deploy: Use OpenVINO for Deployment.

Project Introduction

A Key point detection algorithm for RoboMaster Power Rune Detection. Implemented with YOLOX and RTMPose. A speed of 12ms per frame can be achieved. In the RoboMaster competition, we need to accurately hit five rotating fan blades from 8m away, and in this process, we need to design a highly robust recognizer to obtain the coordinates of the four corner points of the fan blades as well as the category of the fan blades. In this project, I mainly used YOLOX and RTM-Pose to realize the Top-Down key point detection algorithm for fan blades. At the same time, I also replaced the original Backbone of YOLOX with ShuffleNetv2, which has a smaller number of parameters, and deployed the model on a MiniPC using OpenVINO, which increased the running speed of the model by 50% through int8 quantization, and dramatically improved the speed of recognizing energy organs. In the end, the project can complete the identification of all the fan blades of the energy organs within 12ms.

Project Introduction

The project flow is shown below:

The overall structure of the project adopts Top-Down keypoint detection. First of all, we need to get the position of the Bounding Box of each fan blade and the category of the corresponding fan blade, which is a very important part of the subsequent hitting logic, and this stage is realized by using YOLOX, the Anchor Free structure greatly improves the running speed of the network, and we further improve the running speed of the network by modifying the network’s Backbone. After obtaining the Bounding Box of the fan blades, we input the corresponding ROIs into the keypoint detection network, which is realized by using RTMPose, whose special structure can also bring the simultaneous improvement of speed and accuracy.

Project Performance

Project running speed

computing platformWhether int8 quantizationYOLOXRTMPoseTotal time(5 blades)Frame rate(5 blades)
Inter CPUNo16ms5ms41ms24.3 FPS
Inter CPUYes5ms1.8ms14ms71.4 FPS

Project Recognition Effect

Red Power Rune Recognization Effect

Blue Power Rune Recognization Effect

Power Rune Strike Effect