Giter Club home page Giter Club logo

opencvsample's Introduction

OpenCVSample

Sample programs for OpenCV and Swift and iOS and macOS.

OpenCV

Those projects uses OpenCV version 3.3.0. However, OpenCV binary isn't include in thorse projects. You can get OpenCV binary by following steps.

OpenCV for iOS

  1. Download opencv-3.3.0-ios-framework.zip from https://github.com/opencv/opencv/releases/download/3.3.0/opencv-3.3.0-ios-framework.zip.
  2. Unpack the file.
  3. Copy opencv2.framework into OpenCVSample_iOS directory.

If using above the binary, the linker may report many warnings such 'direct access in function '___cxx_global_var_init' from file...' on build. :-(

OpenCV for macOS

  1. Prepare CMake. (e.g. port install cmake)
  2. Download opencv-3.3.0.zip from https://github.com/opencv/opencv/archive/3.3.0.zip.
  3. Prepare a working directory. (e.g. mkdir ~/foo)
  4. Unpack the file into the working directory.
  5. Open terminal at the working directory. (e.g. cd ~/foo)
  6. Run a build script. python opencv-3.3.0/platforms/osx/build_framework.py osx
  7. Copy osx/opencv2.framework into OpenCVSample_OSX directory.

Requirements

  • macOS 10.12.6 (Recommended)
  • iOS 11.0 (Recommended)
  • Xcode 9.0
  • Swift 4.0

License

Please read this file.

opencvsample's People

Contributors

ura14h avatar

Watchers

James Cloos avatar Mezt Rahmat avatar

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.