Easy Opencv 3.1, opencv 2.4.13 instalation Visual Studio 2015 NUGET


My favourite

  • Opencv tutorial people detection
  • Head people cascade download
  • Opencv tutorial optical flow
  • Opencv Video stabilization
  • Opencv car dataset download
  • Opencv tutorial Transparent mask
  • Opencv videowriter
  • Opencv FFMPEG
  • Opencv Canny edge and hough lines
  • Opencv Simple instalation.

    Easy Opencv instalation  for Visual Studio 2015 C++ project by NUGET packages. Your opencv is ready to use under 2 minutes after you find the package console.  

    From Opencv 3.0 Cmake to Opencv 3.1 prebuild Libs

    I wrote about opencv instalation since the release of version 3 and Visual Studio 2015.. In early build of opencv 3.0 there is no precompiled library for VS2015 and I wrote about instalation using CMAKE here . This is still usefull when you need non standard capabilities. You can manage build process and target specific functions and properties. Opencv version 3.1 was shipped with prebuild libs for Visual studio 2015 and everithing is much more simple.. Instation and basic setup is discussed in tutorial here .

    Install Opencv, Visual studio 2015 with NUGET

    The most simple way without setting the global enviromental variables and staff like location of headers and libs is use the NUGET packages.. 

    You can install in nuget package console.. DONT be afraid of CONSOLE. PLEASE. 

    1.Open Nuget console 

    2. Create empty Visual C++ project

    3. Add a source File and write some code.. 

    4. Add NUGET package

    5. Compile and have a fun.. RLY simple in less than 4 minutes.. 

    Again please dont be afraid of console again.. This is much more simple than anaything.. 

    Opencv Nuget Console options 

    After the PM> you can write commands for Nuger console.. And install Opencv is rly simple. For default configuration like in prebuild libs just use.. 

    Opencv Default Build 3.1.0

    PM>  Install-Package opencvdefault

    Enabled advanced CPU instructions. With OpenMP. No TBB/IPP. vc12/vc14, x64/x86 available.

    PM>  Install-Package opencv3.1

    AND DONE !!


    Opencv NUGET console

    Opencv install

    Opencv 3.1

    Opencv Installation NUGET

    Opencv Install

    opencv 3,1 nuget

    opencv 3.1 nuget instal visual studio


    1. Vlada, thank you for the work to show this process. I am researching it now. I had been trying to build a complete opencv 3.1.0 library and failed numerous times. I cannot find a complete listing of the necessary dependencies. Even the official opencv installation documentation is incomplete (library version, etc...). Does this NuGet process work the for the complete opencv library: QT, CUDA, CONTRIB, NON-FREE, etc? Unfortunately I almost need the complete library to support my experiments.

      As I side note, can you write up a thread that outlines the exact list of dependencies needed to build a fully functional opencv 3.1.0 library for WIN10-x64? I cannot find it anywhere in the webs. I understand the basic concepts like use of cmake, and building, but if I cant get the right library versions to support, then it makes little difference.

      Thanks in advance, and I look forward to your future work.

      1. Last time I did this something like one year ago.. When the prebuild libs for Visual Studio 2015 are not available. You can use standard installation. I have some post. Old one here to build own opencv http://funvision.blogspot.com/2015/11/install-opencv-visual-studio-2015.html
        It is little bit more complicated and unfortunately i haven't got time for that.. Thanks for sharing.. :)

    2. I am also having trouble.
      Some functions work, but VideoCapture does not.
      Searching the included resource folder I do not see a ffmpg dll.
      Do I need to add some features manually?

      1. I am not sure if you need to install ffmpeg if you are using nuget packages.. I try to let you know. Try to install on your computer ffmpeg. And use nuget. I have maybe already installed.. Thank fo sharing

    3. Hello. Can I also install CUDA using this opencv version? If so, how?