Giter Site home page Giter Site logo

ihusnainaali / opencvsample Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ura14h/opencvsample

0.0 0.0 0.0 26.52 MB

Sample programs for OpenCV and Swift and iOS and macOS.

License: MIT License

Swift 55.22% Objective-C 6.03% Objective-C++ 38.75%

opencvsample's Introduction

OpenCVSample

Sample programs for OpenCV and Swift and iOS and macOS.

Screenshot on iOS

OpenCV

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

OpenCV for iOS

A binary version is available as it is.

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

OpenCV for macOS

No binary version, so you need to build a source version.

  1. Prepare CMake. (e.g. brew install cmake)
  2. Download opencv-4.2.0.zip from https://github.com/opencv/opencv/archive/4.2.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 by python 2. python opencv-4.2.0/platforms/osx/build_framework.py osx
  7. Copy osx/opencv2.framework into OpenCVSample_macOS directory.

Requirements

  • macOS 10.15.2
  • iOS 13.3
  • Xcode 11.3
  • Swift 5

License

Please read this file.

opencvsample's People

Contributors

ura14h 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.