Giter Site home page Giter Site logo

Comments (7)

drov0 avatar drov0 commented on August 31, 2024 1

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 documentation :
"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.

drov0 avatar drov0 commented on August 31, 2024

Hello,

I do not have a mac but I'll try to get my hands on one to add them :)

from python-imagesearch.

kraftydevil avatar kraftydevil commented on August 31, 2024

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.

drov0 avatar drov0 commented on August 31, 2024

Alright I'm get to work on this, I'll add the instructions today or tomorrow.

from python-imagesearch.

kraftydevil avatar kraftydevil commented on August 31, 2024

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.

kraftydevil avatar kraftydevil commented on August 31, 2024

yep, the first two examples are working 👍. Thanks for guiding me to it.

from python-imagesearch.

drov0 avatar drov0 commented on August 31, 2024

Awesome, thanks !

from python-imagesearch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.