|
The computer in the future will increase the speed of operation. In order to give the user greater security and reliability, it is now gradually used in face recognition, voice recognition, fingerprint identification, color identification and other related identification systems. Image recognition is also an interesting topic because it can be applied to many related devices. The main research objective of this paper is to use the image recognition provided by the OpenCV library and Visual Studio 2013 to find the blue sphere. Place the blue spheres on the platform, control the movement of the platform after each horizontal movement of one centimeter, through the opencv operation to get the offset pixels, the experimental results show that the mobile platform can get four offset pixels for each centimeter of movement, the second one The experiment is based on the longitudinal movement of the control platform by one centimeter, and the result of the opencv operation. It will be known that each prime value will differ by three to four offset pixels. Finally, both the longitudinal displacement and the lateral displacement as described above are simultaneous. the direction of the sphere''s movement will be detected.
|