• Stars
    star
    373
  • Rank 112,383 (Top 3 %)
  • Language
    C++
  • License
    MIT License
  • Created over 15 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Test application for iPhone with OpenCV library

Using OpenCV on iPhone

This source repository includes pre-compiled OpenCV library and headeres so that you can get started easily! More documents you can see on this article.

Building Static Link Version of OpenCV

If you want to build it from source code, you can do by next steps.

  1. Building OpenCV requiers CMake. You can easily install it by using Homebrew or MacPorts.

    # Using Homebrew
    % brew install cmake
    # Using MacPorts
    % sudo port install cmake
    
  2. Clone this project from github.com, then move into the project directory

    % git clone git://github.com/niw/iphone_opencv_test.git
    
  3. Getting source code from sourceforge. I tested with OpenCV-2.2.0.tar.bz2.

  4. Extract downloaded archive on the top of demo project directory

    % tar xjvf OpenCV-2.2.0.tar.bz2
    
  5. Apply patch for iPhone SDK

    % cd OpenCV-2.2.0
    % patch -p1 < ../OpenCV-2.2.0.patch
    
  6. Following next steps to build OpenCV static library for simulator. All files are installed into opencv_simulator directory. When running make command, you've better assign -j option and number according to number of your CPU cores. Without -j option, it takes a long time.

    % cd ..
    % mkdir build_simulator
    % cd build_simulator
    % ../opencv_cmake.sh Simulator ../OpenCV-2.2.0
    % make -j 4
    % make install
    
  7. Following next steps to build OpenCV static library for device All files are installed into opencv_device directory.

    % cd ..
    % mkdir build_device
    % cd build_device
    % ../opencv_cmake.sh Device ../OpenCV-2.2.0
    % make -j 4
    % make install
    

Build support script

uild support script opencv_cmake.sh has some options to build OpenCV with iOS SDK. Try --help option to get the all options of it.

Change Log

  • 04/11/2011 - Supprot OpenCV 2.2.0 + iOS SDK 4.3 + XCode 4
  • 10/30/2010 - Support iOS SDK 4.1
  • 08/22/2010 - Support OpenCV 2.1.0 + iOS SDK 4.0
  • 12/21/2009 - Support Snow Leopard + iPhone SDK 3.1.2, Thank you Hyon!
  • 11/15/2009 - Support OpenCV to 2.0.0 + iPhone SDK 3.x
  • 03/14/2009 - Release this project with OpenCV 1.0.0 + iPhone SDK 2.x

More Repositories

1

HapticKey

A simple utility application to trigger haptic feedback when tapping Touch Bar.
Objective-C
1,646
star
2

KeyboardGuide

A modern, real iOS keyboard system notifications handler framework that Just Works.
Swift
457
star
3

AlpacaChat

A Swift library that runs Alpaca-LoRA prediction locally to implement ChatGPT like app on Apple platform devices.
C
347
star
4

ramen

🍜 A repository to organize self-made ramen recipes.
135
star
5

poxen

Automation tool to configure your Mac.
Ruby
54
star
6

Echo

A simple iOS application redirects microphone input to the Bluetooth audio device
Swift
41
star
7

TinyLinux

A really tiny minimum implementation of Virtualization framework to boot Linux.
Swift
37
star
8

HolePunch

πŸ•³ A simple command line tool to punch hole to reduce disk usage on APFS volume for such as a raw disk image.
Swift
36
star
9

WindowAlignment

A simple application to align windows on macOS.
Swift
29
star
10

GraphQLLanguage

A simple GraphQL language parser library for Swift.
Swift
26
star
11

mozc

A mirror repository of Mozc, an open source Japanese input method made by Google.
C++
24
star
12

profiles

dot files and more
Shell
22
star
13

node-base128

Encode, decode binary to/from UTF-8 string using Base128.
JavaScript
21
star
14

rubies

A script to switch Ruby.
Shell
20
star
15

growl_reeder

A tiny SIMBL plugin to enable Growl desktop notification in awesome Reeder.app for Mac
C
15
star
16

automatic_linking_tool

A simple command line tool to check Mach-O binary configuration for automatic linking
Objective-C
13
star
17

clang_plugins

A repository for clang plugins development
CMake
12
star
18

open_with_default

A tiny extension for Google Chrome on Mac OS X to send links to Safari or Firefox etc.
C
11
star
19

tweetie_hack

Enhance awesome Tweetie for Mac
Objective-C
10
star
20

terminal_coloreopard

Change Terminal.app ANSI Color on Leopard
Objective-C
9
star
21

zoommy

A Stylish Image Zooming JavaScript
JavaScript
9
star
22

safari_hack

Improve Safari.app behavior a little bit, like display favicon in tab bar.
Objective-C
8
star
23

skype_logger

A Simple Plain Text Logger Plugin for Skype.app
Ruby
8
star
24

scalding_examples

A very simple Scalding examples, test codes and a helper script.
Puppet
7
star
25

Hidppgui

A companion helper app for using Logitech mouse on macOS.
Swift
7
star
26

userscripts

JavaScript
6
star
27

readability_importer

A script imports many URLs into Readability.
Ruby
6
star
28

sparkle_appcast

A simple Sparkle `appcast.xml` tool
Ruby
6
star
29

gmail_contrast_theme

Contrast Theme for Gmail Chrome Extension
CSS
6
star
30

chemr

CHM viewer for MacOS X, Forked from original SVN repository
Ruby
6
star
31

DisableKey

A super simple tool to disable key inputs from internal keyboard.
Objective-C
5
star
32

storm_examples

A very simple Storm examples, example codes and a helper configuration.
Scala
5
star
33

hidkeys

A tiny USB firmware for Atmel AVR.
C
4
star
34

antlr4-graphql-grammar

A simple ANTLR4 grammar that can parse GraphQL language (June 2018 Edition)
ANTLR
4
star
35

iOSDCJapan2020Example

An example for the presentation at iOSDC Japan 2020
Swift
4
star
36

iphone_emorywhere

A demo application to enable Emoji keyboard everywhere on the iPhone
Objective-C
4
star
37

SimpleVideoPlayer

A very simple video player for iOS
Objective-C
4
star
38

DisplayAlignment

A simple command line tool to align displays on macOS.
Swift
4
star
39

growl_transition_duration_patch

A sample of Method Swizzling and SIMBL plugin to make Growl notification faster
Objective-C
4
star
40

GoodMacAppIcon

What is a good Mac app icon?
Swift
4
star
41

prowl_tweets

Prowl client for Twitter
Ruby
3
star
42

OpenApplication

A simple command line interface that uses `LSOpenApplication` to open application with preserving environment variables and arguments.
Objective-C
3
star
43

limechat_themes

Themes for LimeChat
3
star
44

intellij-enable-color-management-plugin

A tiny plugin to hot-fix a color management issue on IntelliJ running on the embedded JDK
Java
3
star
45

meowatch

Apple Watch app which you can Meow anytime, anywhere ― on your wrist.
Swift
3
star
46

jquery_plugins

Plugins for jQuery
JavaScript
3
star
47

HIDPP

A Swift module to communicate with Logitech, Inc. keyboards or mouses by using their proprietary HID++ protocol.
Swift
3
star
48

electron-messenger

Yet another simple shell application for Messenger using Electron.
JavaScript
2
star
49

standalone_mod_dav

Standalone WebDav server using mod_dav
Shell
2
star
50

type_pad_template

A command and gem to edit TypePad advanced templates.
Ruby
2
star
51

oauth_client

A tiny command, library to invoke OAuth requests.
Ruby
2
star
52

webapp_apis

A chunk of scripts for some web applications
Ruby
2
star
53

AnimationPlayer

No interesting things here.
Swift
2
star
54

sf_covid19

A commad line tool and library for COVID-19 in San Francisco.
Ruby
1
star
55

javas

A simple Java version switcher for OS X.
Shell
1
star
56

homebrew-additions

Additional Formulas to Homebrew.
Ruby
1
star
57

wemo_device

A simple Ruby gem library that lookups Belkin’s Wemo devices.
Ruby
1
star
58

test

To understand how GitHub works, this repository is a test playground.
1
star
59

capistrano-forwarding

Capistrano extension providing SSH port forwarding while deploying.
Ruby
1
star
60

cfddns

A simple command line tool to update Cloudflare DNS record.
Rust
1
star
61

hiera-osxkeychain

Hiera backend for looking up OS X keychain
Ruby
1
star
62

vendorized_bundler

A small script to make Bundler and dependencies vendorized.
Ruby
1
star
63

self_sizing_auto_layout_cell_example

This is an example application that describes how using self-sizing auto-layout cell is difficult.
Objective-C
1
star
64

InlineVideoPlayer

A small sample project to inline video player within texts on `UITextView`.
Swift
1
star
65

mfk5

A prototype keyboard that contains enough features to make a full size split keyboard.
Shell
1
star
66

nodemcu_air_quality_sensor

A simple sensor node for measuring air quality in your room.
C++
1
star
67

ports

private portfiles which includes some patch, configuration
C
1
star
68

iterm2-git-svn-clone

iTerm2, cloned from original SVN repository
Objective-C
1
star
69

swift-contribution-workspace

A workspace repository for contributing to Swift and related projects on macOS
Shell
1
star
70

FixEvernoteSnippetsView

A dynamic link library that patches Evernote snippets view that has wrong configuration
Objective-C
1
star