Code Monkey home page Code Monkey logo

conda-opencv3's Introduction

conda-opencv3 Conda Build Number

This repository contains a conda recipe for automatically building the OpenCV3 Python package and uploading it to our anaconda repository, menpo. This recipe provides builds for Win32, Win64, OSX64 and Linux64 (Ubuntu 12.04 and above).

I have seperated the OpenCV builds from the OpenCV3 builds as OpenCV 2.x and 3.x contain breaking changes between each other. However, note that both OpenCV2 and OpenCV3 install a single cv2 binary module into Python's site-packages, and thus can't actually coexist. Why OpenCV 3.x maintained cv2, rather than moving to cv3, is beyond me, but note this:

YOU CANNOT INSTALL BOTH OPENCV2 AND OPENCV3 AT THE SAME TIME - THEY WILL OVERWRITE EACH OTHER

The automated builds are provided by:

Build Service Status Platforms
Travis Travis Build Status Ubuntu 12.04 (x64)
Appveyor Appveyor Build Status Windows Server 2012 R2 (x86, x64)
Jenkins Jenkins Build Status OSX 10.10 (x64)

Build Settings

The following OpenCV3 functionality is disabled or unavailable for the automated builds:

TODO

This functionality is disabled in order to attempt to increase the probability that the automated builds will be useful for as large a range of people as possible. I have made no effort to get the FFMPEG/Video builds working. If this is a requirement I can likely remedy it by adding an FFMPEG conda package.

If the lack of this functionality is impeding you, please attempt to build the project yourself by installing conda and following the instructions below:

$ conda install conda-build
$ git clone https://github.com/menpo/conda-opencv3
$ cd conda-opencv3
$ conda config --add channels menpo
$ conda build conda/
$ conda install /PATH/TO/OPENCV3/PACKAGE.tar.gz

If you wish to edit any settings, such as enabling FFMPEG functionality, please edit the build.sh or bld.bat files in order to enable (1) or disable (0) the required settings. Note that in the case where you wish to achieve something like linking an external library, this may be complicated. In this event, I am unable to provide any assistance. The primary reason for providing this package was to attempt to avoid this kind of hassle in the first place!

Known Issues

In the event that you install opencv3 and recieve an error that is not listed below, please create an issue here on Github.

ImportError: /lib/x86_64-linux-gnu/libc.so.6: version 'GLIBC_2.14' not found

This error stems from the fact that we build on Ubuntu 12.04, which uses GLIBC 2.14. Older versions of Linux use older versions of GLIBC which are not compatible with future versions. If we were to build using an older linux box (or the Linux Standard Base), we could remedy this issue as GLIBC is guaranteed to be backwards compatible. However, the convenience of Travis far outweighs the complexity of this. Therefore, we are currently only able to support GLIBC 2.14 and above. If this is an issue, please rebuild the project manually as described above.

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.