Saturday, August 20, 2016

Easy Opencv 3.1, opencv 2.4.13 instalation Visual Studio 2015 NUGET

Opencv Simple instalation.

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 !!

FOLLOW IMAGES TO CREATE AND INSTALL NUGET IN VS PROJECT


Opencv NUGET console


Opencv install


Opencv 3.1

Opencv Installation NUGET

Opencv Install

opencv 3,1 nuget


opencv 3.1 nuget instal visual studio


Tuesday, July 26, 2016

Iceland video tracking and stabilization example

My iceland video tracking example

Video tracking stabilization opencv

i know that, I did not write anything interesting for a long time.. I am working on it..





Transparent mask tutorial is Here


Monday, July 25, 2016

Microsoft cognitive-services VS Google Vision API

Microsoft cognitive-services VS Google Vision API


Which image api recognition engine is bigger gentleman ?


Check the result.. This is just a funny comparison.. I did not mean this rude. You get it, when you check the result of this outstanding api..  Microsoft has realy truly stunning results. 


Microsoft cognitive-services VS Google Vision API


Microsoft cognitive-services image clasification result



{ "text": "a beautiful woman standing on a beach", "confidence": 0.6798031586203954 }

There is much more information about the image and they are impresive.. A beautiful woman.. Ok lets check google result,, 

Google vision api More neutral 

and let say, More or less ok.. 

"description": "clothing",  "description": "vacation", ¨description": "beauty", 
  "description": "photo shoot",  "description": "sun tanning",  "description": "sports",
 "description": "volleyball",

Microsoft cognitive-services VS Google Vision API

Microsoft cognitive-services image clasification result


{ "text": "a woman walking down a beach next to the ocean", "confidence": 0.5507436156974482 } ] }

Google vision api More neutral 

"description": "clothing", "description": "vacation", "description": "black hair", "description": "beauty", "description": "sea", "description": "model", "description": "swimwear",  "description": "supermodel",  "description": "photo shoot",


Wednesday, July 6, 2016

I will be back soon. 3 mont pause from blog..

I will be back soon. Tutorials and more about Computer vision, technology and more


Blog techblog computer vision

Fotka zveřejněná uživatelem @vladakuc,
Fotka zveřejněná uživatelem @vladakuc,

Fotka zveřejněná uživatelem @vladakuc,

Monday, March 14, 2016

Opencv tracking example


Median flow tracker code coming soon


  • Simple median flow tracker base od goodFeaturesToTrack
  •  calcOpticalFlowPyrLK
  • TODO complete forward backwards tracking and feature filtering. I already have forward, backwards LK tracker, without filtering (just prepared NORM computation).
  • TODO complete redetection. White rectangles are redetection with online learning by RTrees opencv 3.1 support. Rtrees work great. I only need better features. Do you have any advice or tips?
  • From the initial Rectangle is generated several positive examples and negatives from the rest of image. Rtrees learning and prediction can run very fast. I still haven't got a good features. Feature extracting took some time to. 
  • TODO Forward backward + redetection. 
  • 300 lines of code 
Final result will be 

TLD tracker

I would like to release this in 4 next tutorials. 

Forward backwards median flow tracker

Rtrees learning ( new features ) and prediction with single scale detection sliding window

Complete TLD tracker

Slow Multi target TLD tracker




Share please