Comments (7)
Actually I still don't have a macos environment, but I can definitely guide you through the install @kraftydevil
You need those components :
cv2 (opencv) :
https://medium.com/@nuwanprabhath/installing-opencv-in-macos-high-sierra-for-python-3-89c79f0a246a
Looks like brew install opencv
works
pyautogui :
As per the :
"OS X needs the pyobjc-core and pyobjc module installed in that order"
So it's an easy
pip3 install -U pyobjc-core
pip3 install -U pyobjc
Also note that if you are using mojave you may need to change your config : asweigart/pyautogui#247
"Not a pyautogui user, but on Mojave, there's a new security feature where you must explicitly allow applications to use your mouse/keyboard. Have a look in Security Preferences > Security & Privacy > Privacy > Accessibility - you might have to allow your terminal application in the list."
Once you have those try
pip3 install -r requirements.txt
and see if you have errors. If this worked, please report back so I can update the README
from python-imagesearch.
Hello,
I do not have a mac but I'll try to get my hands on one to add them :)
from python-imagesearch.
Any word on adding mac installs?
There are ways to install apt-get on a mac, but it's not recommended to use it alongside an existing package manager. I'm already using Homebrew for quite a few things.
I'd really like to use this.
from python-imagesearch.
Alright I'm get to work on this, I'll add the instructions today or tomorrow.
from python-imagesearch.
No install errors 👍- using 10.13.6 (High Sierra).
Install was as you mentioned:
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 will test with one of the examples and report back.
from python-imagesearch.
yep, the first two examples are working 👍. Thanks for guiding me to it.
from python-imagesearch.
Awesome, thanks !
from python-imagesearch.
Related Issues (20)
- how to search for a specific location?
- gdi32.GetDIBits() failed HOT 2
- imagesearch | AttributeError HOT 4
- Exception with imagesearch area HOT 3
- Module not found (Windows)
- I have an error HOT 6
- Cant install module HOT 1
- Can not search color image file.
- Cannot Install on Linux, Missing Requirements.txt HOT 1
- with open('requirements.txt') as f: FileNotFoundError: [Errno 2] No such file or directory: 'requirements.txt' HOT 5
- Trouble with imagesearcharea when region x2 and y2 is less than double the size of x1 and y1? HOT 3
- Not Working HOT 3
- region_grabber(region) uses wrong coordinates for mss().grab(region) (with possible fix) HOT 1
- Way to turn down minimum resemblance? HOT 1
- Missing imagesearch_region_numLoop HOT 2
- Search image that appear in multiple positions HOT 1
- Resolution Change
- 'ScreenShot' object has no attribute 'thumbnail'
- Can imagesearch handle an image on a different background? HOT 1
- NameError: name 'imagesearch_from_folder' is not defined
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-imagesearch.