Code Monkey home page Code Monkey logo

opencv-complete-build-cuda's Introduction

Latest OpenCV Installer From Source.

PRs Welcome Code Climate Issue Count

Full build script for Open CV with/without cuda and bumblebee support.

Need

After playing around with so many parameters and building OpenCV from source, I realized how painful this was. I ended up creating an installer script for my convienience and since now I feel pretty confident that I have perfected this, I am relasing this to everyone so your life can be simpler too.

Short Link

The install script is located at: http://bit.ly/OpenCV-Latest

Installation

One Line Install:

$ curl -fsSL http://bit.ly/OpenCV-Latest | bash -s /path/to/download/folder

One Line Install With Bumblebee:

$ curl -fsSL http://bit.ly/OpenCV-Latest | optirun bash -s /path/to/download/folder

Fetching Updates

One Line Install:

$ curl -fsSL http://bit.ly/OpenCV-Latest | bash -s /existing/download/path

One Line Install With Bumblebee:

$ curl -fsSL http://bit.ly/OpenCV-Latest | optirun bash -s /existing/download/path

Pre Install

You need to have the curl package to issue the online install.

$ sudo apt install curl

Post Install

Make sure to setup relevant paths for python so that OpenCV packages can be accessed. Generally the the path will be:

$HOME/.opencv/lib/pythonX.X/dist-package

Where X.X = {2.7, 3.2}. If your system does not have $PYTHONPATH variable, set this in your profile.

Features

This script will download and install everything required by OpenCV and build everything fresh. In case you already have the repos downloaded and just want to refresh the latest build. Simply provide the same download path and everything latest will be pulled in.

License

GPLv3

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.