Skip to main content

Posts

Showing posts from April, 2017

Tracking example in opencv, better than surfer video, same technology

Opencv target tracking example
The computer vision is just super fun. Machine learning with just visible results.. This is so powerful to bring more people intogame. To apply K means clustering to millions of line data-set and obtain 10 clusters. Cool. Sure. Where is the fun_ This is actually super cool. Machine learning, good know of video image properties, optical flow control theory, optimization, feature extraction and others super cool staf.  Share, subscribe, This support me to continue

Opencv build and install Visual Studio 2017 Contrib library

Easy install and build of Opencv 3+ tested on 3.2 version with contributor library and additional features described step by step, picture by picture. After this tutorial you can modify setting of CMAKE project according to HW possibilities and available libraries to build your own Opencv library. Most of the time, Prebuild libs with already generated DLL, LIBS are used to start project and coding. In case, that new visual studio 2017 is available there is no prebuild libraries for VS141, Thich is from my point of view confusing naming of Libraries compatible with Visual Studio 2017. Opencv VS 2017 install options Alternatives to this tutorial. You can skip this.  There is possibility use some compatibility pack downloaded to VS140 and use same prebuild library as in case of Visual Studio 2015 this is described hereThe second way is to try use some prebuild NUGET package. I am using nugets a lot. Simple installation under one line of code inside nuget packages console. here
Opencv Ins…

Simple Install opencv Visual Studio 2017 by NUGET

Simple Installation opencv Visual Studio 2017 Simple installation of opencv for Visual studio 2017 by image example. Easy and fast way to start coding in opencv by Nuget packages. If your plan is going to use cuda, or some advanced opencv settings. You should install opencv in different way. For example build your own libs according to HW you have available.. This will be my next tutorial.

If you want to play and make a fun in Visual Studio 2017 this is tutorial for you. All mine tutorials for Opencv is now running just based on NUGET packages installation. For most common purpose is this installation just fine.

OPENCV VISUAL STUDIO 2017 need vs141 libs version This doesn't make any sense to me Visual Studio 2012 was 110 lib version, 2013 was 113, Visual studio 2015 has VS140 lib version and now the big step forward. Visual studio 2017 you are finding DLL, libs etc compatible with VS141.. What a big step from previous visual studio :)
Instal opencv under 1 minute  On nuget packag…

Helping on stackoverflow with tracking and people counting.

Helping on stackoverflow Maybe some of this ideas are useful also for you.  Question was??  You have one people income stream and you need to determine exit points, Right, Left or just straight. Use detection and statistic or whole tracking.

tracking is best to solve this problem, I think
This is my ansfer.
The best accurate way is to use tracking algorithm instead of statistic appearance counting of incoming  people and detection occurred left right and middle..
You can use extended statistical models.. That produce how many inputs producing one of the outputs and back validate from output detection the input.



My experience is that tracking leads to better results than approach above. But is also little bit complicated. We talk about multi target tracking when the critical is match detection with tracked model which should be update based on detection. If tracking is matched with wrong model. The problems are there.
[![enter image description here][1]][1]

Here on youtube I developed …

Tracking and Train SVM detector with HOG features online

Support vector machine with Histogram of oriented gradient trained near online, and tracker. 

Build the SVM detector based on HOG feature is relatively simple process. When is not necessary to be robust and detector is focused only on one object. You can build this by combine several OPENCV available tutorials and source codes distributed in Opencv samples. There is maybe one think what is not natural and cannot be taken from example and tutorials. Train set in online training is only 20 positive images warp over positive windows and 30 random negative samples.

What do you think  ? 
Tutorial on SVM with HOG, tracker soon
This is just and example. Tutorial will be available later.. Code is little bit complex.