Giter Club home page Giter Club logo

opencv2-framework-for-mac's Introduction

OpenCV2 Framework for Mac

©2013 kyogoku42 [email protected]

OpenCV2 Framework for Mac is a OpenCV2 distribution for Mac.
It aims to provide a OpenCV in a mac-way -- easy to use and works with all default softwares.

It's now based on OpenCV 2.4.6.1.

It comes with what you need.

  • OpenCV2.framework
    • Mac-styled framework. (OpenCV 2.4.6.1)
  • Binding for Apple Python
    • Binding for Apple's default python (2.7.2).
    • Works with default numpy (1.6.1)
  • Binding for Python.org python
  • Binding for Apple Java (not tested.)

Currently it supports only OS X Mountain Lion. Works both for 32/64-bit Intel.

Install

NOTICE: You must install python.org python BEFORE INSTALLING FRAMEWORK if you need a binding for it.
You can get at python.org. You also need to install official numpy. Optionally, you can install official scipy. All comes with binary.

To install,

  • Download OpenCV2 Framework.pkg inside a folder OSX-Installer.
  • Double click and install it. That's it :)

Uninstall

Download and run uninstall-osx-framework.sh.

Compile

You can compile Framework by yourself, with additional options. To compile, you need CMake and Xcode (with Command Line Tools).

To build a framework,

git clone https://github.com/kyogoku42/opencv2-framework-for-mac.git
cd opencv2-framework-for-mac
./build-osx-framework.sh

Framework will be put into OSX-Frameworks.

To build an installer,

cd OSX-Installer
./build-osx-installer.sh

Installer will be put into OSX-Installer.

To change compiling options, edit build-osx-framework.sh.

Changes

Compared to official OpenCV 2.4.6.1:

  • Merged a fix for dpstereo.cpp. See this.
  • Added a framework build script in platforms/osx.
    • Based on this and fixed/rewritten in more mac-way.
    • All compile options are reset to default except:
      • ON: AVFoundation.
      • OFF: Documents, Tests, Perforemance tests.
  • Added a new module pythonorg in modules, which is a second python binding for python.org python.
  • Puts training data into OpenCV2.framework/Resources/data.

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.