Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mz2/perception
High level framework for computer vision for OSX.
https://github.com/mz2/perception
Last synced: 25 days ago
JSON representation
High level framework for computer vision for OSX.
- Host: GitHub
- URL: https://github.com/mz2/perception
- Owner: mz2
- License: mit
- Created: 2016-05-10T22:29:52.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-25T00:44:19.000Z (over 7 years ago)
- Last Synced: 2024-10-19T23:23:50.331Z (28 days ago)
- Language: C++
- Size: 49.3 MB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Perception [![build status](https://gitlab.com/sashimiapp-public/Perception/badges/master/build.svg)](https://gitlab.com/sashimiapp-public/Perception/commits/master) [![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
Perception is a set of OpenCV routines made available in Objective-C. This framework mostly exists because Swift doesn't support calling to C++.
No particular attention is paid to maximising data marshalling performance – NSArrays of NSNumbers are used like an animal (mostly because of laziness and because the data marshalling is a small fraction of runtime of the methods made available here).
### How the embedded OpenCV binary was built
The following steps were roughly speaking involved in building the OpenCV macOS binary that's statically linked into this framework, not automated at the moment to any extent:
1. git clone [email protected]:opencv/opencv.git
- The commit built is d8425d88816ef7dbc9c8e5fa4cce407c7cf7a64e (this specific commit in the 3.2.0 development series adds some APIs I needed).2. git clone [email protected]:opencv/opencv_contrib.git
- The tag built is 3.2.0.3. Build opencv (and copy libraries and include directories in place after):
```
cd opencv
mkdir build
cmake -DBUILD_SHARED_LIBS=OFF -DWITH_IPP=OFF -DOPENCV_ENABLE_NONFREE=ON -DOPENCV_EXTRA_MODULES_PATH=/Users/mz2/Projects/opencv_contrib/modules ../
```