Skip to content

edd-ie/ComputerVision_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple python image matching application

Table of Contents

  1. Getting started
  2. Usage
  3. Contributors
  4. Licenses
  5. Resources

Cloning

Clone the project files to your local repository:

  • HTTPS => https://github.com/ComputerVision_bot.git
  • SSH => git@github.com:edd-ie/ComputerVision_bot.git
  • Git CLI => gh repo clone edd-ie/ComputerVision_bot

Open the terminal and Navigate to the clone project folder:

Run:

pip install -r requirements.txt

Navigate to Test.py file

Comment out line 18 i.e shot.findPos('Images/hazard.jpg', "rectangle", 0.85, method='win') # pygui, pil, win

Run in the terminal :

python Test.py

This will print the list of windows and their addresses currently open in your pc.

Copy the window name you want to observe and paste in line 17 shot.__int__('here')

From the selected window take a screenshot of the thing you want to locate and save it in the Images folder of the project.

Uncomment out line 18

Paste the image name in shot.findPos('Images/here.jpg'...

Run:

python Test.py

This project was created by : Edd.ie

The project is licensed under the BSD 3-Clause "New" or "Revised" License, thus redistribution and use in source and binary forms are permitted provided that the conditions are met

This application uses knowledge applied from OpenCV Object detection in games YouTube playlist

OpenCV - Computer vision library

Releases

No releases published

Packages

No packages published

Languages