Skip to main content

Requirements

You’ll need a copy of OpenCV 3.0.x to link against, and the Haar Cascade files from OpenCV 2.4.10 to do recognition, since the newer versions changed the format but the C API seems to not have been updated to be able to read them.

You can grab both versions from:

http://opencv.org/downloads.html

Build the 3.0 version (via cmake . && make). Install it if you wish, otherwise follow below to just tell opencv-cffi where you’ve downloaded it.

On OS X, you can also get OpenCV 3.0 by running:

$ brew edit homebrew/science/opencv

remove the , branch => '2.4', and then

$ brew install –HEAD –without-python homebrew/science/opencv

(We do not need the Python bindings, you’re lookin’ at Python bindings).

Building

E.g.:

$ opencv=~/Development/opencv-3.0.0 \
  LD_LIBRARY_PATH=$opencv/lib/ \
  DYLD_LIBRARY_PATH=$LD_LIBRARY_PATH \
  C_INCLUDE_PATH=$opencv/include/:$opencv/modules/core/include/:$opencv/modules/hal/include:$opencv/modules/imgproc/include:$opencv/modules/photo/include:$opencv/modules/video/include:$opencv/modules/objdetect/include:$opencv/modules/videoio/include/:$opencv/modules/highgui/include/:$opencv/modules/imgcodecs/include \
  LDFLAGS=-L$opencv/lib\
  pypy opencv_cffi/build.py

Release files for opencv_cffi 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distributions (sdists)

Source distribution for opencv_cffi 0.2.2
File Size Uploaded
opencv_cffi-0.2.2.zip 28.0 kB Details
opencv_cffi-0.2.2.tar.gz 22.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for opencv_cffi 0.2.2
File Interpreter ABI Platform
opencv_cffi-0.2.2-pp27-none-macosx_10_11_x86_64.whl PyPy 2.7 none macOS 10.11+ x86-64 Details

Total release size: 96.5 kB

Release files / opencv_cffi-0.2.2.zip

Download URL opencv_cffi-0.2.2.zip
Size 28.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b63bfe64ad1640ead8c252c0e473e581b662971d42b5d75c7c8bcc0a6378abaf
BLAKE2b-256 checksum
How to use checksums
1ef423f3e83c7629f02923f662cd7cae8d45d876b3709978ad00aa1a9a2668d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / opencv_cffi-0.2.2.tar.gz

Download URL opencv_cffi-0.2.2.tar.gz
Size 22.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c734cee852b8b1fd7034d958d78dd13a3191c16ebd6ddfeaa06643fade3b0295
BLAKE2b-256 checksum
How to use checksums
c4de4f80e14a3e25e9da761629935de14b7d39f794781d48c69d38d045ca19cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / opencv_cffi-0.2.2-pp27-none-macosx_10_11_x86_64.whl

Download URL opencv_cffi-0.2.2-pp27-none-macosx_10_11_x86_64.whl
Size 45.7 kB
Tags PyPy 2.7 macOS 10.11+ x86-64
SHA-256 checksum
How to use checksums
d05f463fcdb1ae392273fbab865801a4342f399207cb1dee9561a939a56d3a63
BLAKE2b-256 checksum
How to use checksums
fa31cc8d887f96d77ddfcab06a0b9d68aa8dc4e0ddcf2fd52754b86562f1d4a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2.2 This release

3 release files

0.2.0

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page