Git Product home page Git Product logo

opencv-installation's Introduction

OpenCV

OpenCV is the famous open-source computer vision library. There are three suggested way for installing OpenCV.

Using bash script files

  1. Install directly by going to this link and using one of the "OpenCV.sh" or "OpenCV_Alternative.sh" bash script files available in this repository.
  • The second file is more abstract and installs less dependancies. This may lead to have less conflicts and incompatibilties.
  1. Install as follows for the particular version:
  • The first two files are the edited version of the second method.
wget https://raw.githubusercontent.com/jayrambhia/Install-OpenCV/master/Ubuntu/2.4/opencv2_4_9.sh
chmod +x opencv2_4_9.sh 
./opencv2_4_9.sh

However by using this method, unsupported gpu architecture error has been reported. Most like this is due to requirements of some OpenCV installations to define the "CUDA_GENERATION" explicitly.

Install from the source

Install using the source from the source

Alternative Solution

Alternatively by adding python-opencv to the following part commands(installing dependencies) the opencv can be installed and also is compatible with most of the distributions.

Open-CV Installation Procedure

This folder is related to OpenCV installation which is a dependecy for the Caffe.

Here's is the procedure and considerations:

  1. Download and run the "OpenCV.sh" file for installing OpenCV.
  2. Installing "ffmpeg" can be ignore for two reason:
  • the package might not be available in Ubuntu(14.04)
  • Other possible incompatibilities.
  • "ffmpeg" can be installed from the source in a more eficient way.
  1. In the "OpenCV.sh" file the command "make -j16" in line 17 is for using all the CPUs(speed up the process). In the part -jX, X is dependent to the number of CPUs supported by the system.

If the "OpenCV.sh" file has some issues you can alternatively install "OpenCV_Alternative.sh" file.

opencv-installation's People

Contributors

astorfi avatar

Watchers

Hesham Bataineh 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.