Skip to main content

Posts

Showing posts from December, 2016

Opencv head and people detection code cascade

head and people detection Opencv LBP CascadeClassifier 

This LBP cascade for opencv will be available soon. People is just new version of the old one published here. Head detection is new one. Just trained.
LBP cascade description I trained cascade just on hopefully well selected 2000 positive images and 2400 negative. Great effect has also selection of the negative samples. I need to find more about this. Same positive samples and different negative set of samples should lead to big different kind cascade property. Yes positive samples is good to have somehow unique (situation, positive, background, rotation etc). The negative samples are simple to capture. Random crop from the several pictures from vacation. Nothing special. But there is also the magic behind. Instead of try different kind of positive samples. Try the negative. Easy to collect and performance of the cascade should be rapidly different. Also, It is not necessary to have 100 percent clear negative sample. If there i…

Car detection in Opencv LBP cascade to download

LBP cascade for Car detection in Opencv LBP ( included to download) and Haar features in OpenCV detectMultiscale are one of the most simple and also powerful (Old sure) to detect something. In this article is a pre-trained LBP cascade for car detection. Code and basic info. The results are not that bad. Check the video and enjoy a pre-trained cascade.
Opencv cascade for car detection conditions of use
Also, Do not worry about the condition of use. Use only on your own risk. That's it. The dataset to train this cascade is only mine. I also colect positive and negative data. I just want to say, that there is also no conditions based on the datasets. There is no others conditions of use. Maybe check the Opencv traincascade utility. Thanks. Yes share and cite. Just small minimal condition.

Download HERE

LBP cascade properties for car detection <!-- This is just basic 5 stage haar cascade car detector develop by  V.K. from https://funvision.blogspot.com -->
<opencv_storage> …

Facebook page is out as Funvisionblog

Facebook page is out. Stay tuned to more tutorials, news and updates.





Funvision

Opencv rectangle drawing tutorial C++

Opencv rectangle drawing tutorial C++ Opencv rectangle drawing tutorial by example in C++. Simple steps let you draw the rectangle inside the pictures and video sample. Several rectangle definitions and rectangle drawing function just show you a various ways to draw the rectangles inside the picture and video. It is simple and easy. 
Steps in descriptions rectangle drawing  All the steps below the picture (A B ... F) are also marked inside the code. The commends inside c++ code // just describe the Rect definition to define rectangle to draw inside the function rectangle. This function just draws the defined rectangle inside the Picture.  Rectangle(Picture is the first parameter. This is just Mat where to put the second parameter. Defined Rect (rectangle). You can choose to put the rectangle to that function in a several ways. This is not 2 much important. They just do the same job for you.. I am using just one of them. 
Try to figure out the steps and compare the code with images.. …

opencv traincascade haar and lbp my training parameters

Opencv traincascade haar and lbp training  Opencv traincascade script parameter examples for windows. Traincascade utility is easy to use for training HAAR like and LBP like cascade for opencv detect multiscale by CascadeClassifier. On this blog you can find several example how to detect something by the HAAR a nd LBP cascade..




Opencv traincascade examples I am using this parameters. You can start where you just ended before. This make sense. Train for 5 stages and test. If the results with higher treshold make sense. Train again with same script and increase numStages. After some time training is much and much slower and test before you run the training for the long time. 
This is my scripts.. If you have any
opencv_traincascade.exe -data v -vec vec.vec -bg bg.dat -numPos 300 -numNeg 300 -numStages 10  -numThreads 2 -stageType BOOST -featureType LBP -w 32 -h 64 -minHitRate 0.995 -maxFalseAlarmRate 0.42 -maxDepth 1 -maxWeakCount 100

opencv_traincascade.exe -data vv -vec vec.vec -bg…

My Opencv LBP cascade for people detection for download

13 stage opencv LBP cascade for people detection to download My Opencv LBP 13 stage cascade for people detection. It is only 13 stages learned on 300 of positive people images. It is not trained enough. Training time is only under 1 hour. I have also a more trained version also on 300 people. They are just under testing. This is just what i want to release to public. Enjoy The cascade. It is not that bad. You need to only set the higher minNeighbors parameter. As I sayd it is not trained a lot.





Opencv cascade for people detection conditions of use Also, Do not worry about the condition of use. Use only on your own risk. That's it. The dataset to train this cascade is only mine. I also colect positive and negative data. I just want to say, that there is also no conditions based on the datasets. There is no others conditions of use.




Cascade classifier LBP great but real value is in Datasets This cascade is just example achieved in 2 hours. One hour of training and the previous one…