drov0 / python-imagesearch

A wrapper around opencv2 and pyautogui to do image searching easily.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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/

This is the currently maintained package, so if you've come from https://pypi.org/project/python-imagesearch-drov0/

you are at the right place

Easy Example:

Install:

pip install python-imagesearch

You may need to install dependencies depending on your OS:

Linux :

sudo pip3 install python3-xlib
sudo apt-get install scrot python3-tk python3-dev 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 : #5

About

A wrapper around opencv2 and pyautogui to do image searching easily.

License:MIT License


Languages

Language:Python 100.0%