3/13/2024 0 Comments Opencv on mac![]() Have you or anyone out here tried to opencv 2.4.1 with python2.7 on a mac os x? That's me thinking "Oh, OpenCV installation. Running the camshift demo, using the integrated MacBook iSight webcam: Try one of the ctypes-opencv demos to check if it works: python houghlines.py Save and close it, then restart your terminal window for the. Open your ~/.profile (created when installing MacPorts) and add the following line:Įxport DYLD_FALLBACK_LIBRARY_PATH=/opt/local/lib Once that's done, navigate to the ctypes-opencv directory and install using sudo python setup.py installĥ. Download ctypes-opencv source and demo files. This installs OpenCV 1.0, which is fine for me, because that's what the Python bindings (next) are tested on.Ĥ. Install OpenCV by running the command sudo port install open cv. (For some reason I received a "Could not find specified message for index 16" error when trying to install the version for Snow Leopard, so I installed the version for Leopard instead.)ĭon't forget to run sudo port selfupdate once it's installed.ģ. ![]() Download and install MacPorts, a command-line tool to install software and deal with dependencies for you. Install XCode from the Mac OS X install CD.Ģ. It's my first time developing on OS X, so I thought I'd document the process to get started using vision algorithms on a Mac.ġ.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |