![]() Open Xcode and create a new project by clicking on File > New > Project. #Now, let’s setup a basic project in Xcode. If you check inside your build > lib folder, you should see all the frameworks that have been installed. Once it’s done, run “ make -j8” in your Terminal and ‘ sudo make install’.Įverything should now be installed. This command will start installing what OpenCV needs to run. Once you moved OpenCV to a directory you’re happy with, cd into this directory and create a folder called ‘build’ with the mkdir command.Ĭd into this new folder and run ‘ cmake -G “Unix Makefiles”. Make sure you’re not going to change the location often because it could break projects. If you see the following, you’re good.įind where you downloaded OpenCV and drag it to where you want it to live. Once this is done, open a new terminal window, write ‘ port’ and press enter. Then, go to the MacPorts project, download it and install it. To get started, visit the OpenCV website and download the correct version for your OS. ![]() I’m planning on starting a project involving computer vision using the OpenCV framework.Īs I’ve had some troubles getting everything installed and running a basic project, I’m writing this tutorial to help anyone who’s going through the same process, hoping it will make it easier :)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |