Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 965 Bytes

File metadata and controls

35 lines (27 loc) · 965 Bytes

Python-ImageSearch

it's a wrapper around pyautogui and opencv2, to allow you to easily add cross-platform image searching capabilities to your project.

See example.py for examples. If you have any questions feel free to contact me.

Documentation : https://steemit.com/python/@howo/image-recognition-for-automation-with-python

Install :

Linux :

sudo pip3 install python3-xlib
sudo apt-get install scrot
sudo apt-get install python3-tk
sudo apt-get install python3-dev
sudo apt install python3-opencv
sudo pip3 install -r requirements.txt

Windows :

pip3 install -r requirements.txt

MacOs :

brew install opencv
pip3 install -U pyobjc-core
pip3 install -U pyobjc
git clone https://github.com/drov0/python-imagesearch.git
cd python-imagesearch
pip3 install -r requirements.txt

I have not tested myself as I don't own a mac, but it was tested and documented in this issue : drov0#5