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 the documentation for examples. If you have any questions feel free to contact me.

Documentation : https://brokencode.io/how-to-easily-image-search-with-python/

Easy Example:

Install:

pip install python-imageseach-drov0

You may need to install dependencies depending on your OS:

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

Windows :

No setup should be needed

MacOs :

brew install opencv
pip3 install -U pyobjc-core
pip3 install -U pyobjc

I have not tested myself as I don't own a mac, but it was tested and documented in this issue : https://github.com/drov0/python-imagesearch/issues/5