程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
您现在的位置: 程式師世界 >> 編程語言 >  >> 更多編程語言 >> Python

Image recognition based on python3.5+opencv+windowsapi

編輯:Python

Resource download address :https://download.csdn.net/download/sheziqiong/85705593
Resource download address :https://download.csdn.net/download/sheziqiong/85705593

name :

  • Look at the plug-in

brief introduction

  • Image recognition based on the implementation of Lianliankan plug-in

explain :

  • Environmental requirements :python3.5 + opencv + windowsAPI
  • Be careful : In this program config.py File is all the configuration information used in this program , The open source configuration information is aimed at the continuous reading provided by me .rar In the game . That is to say, when the plug-in is used , To open the Lianliankan game I provided , This set of configuration is not to crack Tencent's game . Want to crack Tencent QQ Lianliankan in the game , You only need to change the configuration information to be the same as QQ The set corresponding to the game is OK , But I don't provide the value of this set .

usage :

  • Open the game first , After the game runs ( When the game starts ), Run script . The main thing is to make sure that the game form cannot be dragged onto the screen accidentally , The program does not recognize data outside the screen .

Principle introduction :

  • The goal is : Let the computer execute the continuous look algorithm for us , So just let the program know the picture , And click the mouse for us .
  • Realization :
    • Step one : Image analysis of the screen , Transform the matrix of the picture into an array recognized by the computer .( Through image slicing and image comparison )
    • Step two : The computer performs a concatenation algorithm on the array , Calculate the points that can be connected .( Simple numerical operation )
    • Step three : Let the computer send mouse events , Click the two points that can be connected .(Windows API Realization )
    • Repeat step 2 、 Three until the game wins .

remarks

  • This project is open source only for exchange and learning , Widespread circulation may cause losses to other companies' commercial products , So please consciously abide by the law and the code of ethics , Do not use it for other purposes , Nor can it be used to obtain commercial benefits !

Open source licenses :

  • Apache Licence

Screenshot

  • Of course , In the end show Some pictures , Show the amazing effect of the plug-in , Set the time interval to 0.



    Resource download address :https://download.csdn.net/download/sheziqiong/85705593
    Resource download address :https://download.csdn.net/download/sheziqiong/85705593

  1. 上一篇文章:
  2. 下一篇文章:
Copyright © 程式師世界 All Rights Reserved