Home > Unspecified Error > Opencv_createsamples Tutorial

Opencv_createsamples Tutorial

Contents

No. Its synopsis is: opencv-createsamples -info positive.txt -vec vecfile.vec -w 30 -h 32 my positive image descriptor file was named positive.txt and the name chosen for the vec file was vecfile.vec. The problem you are facing is clear that the header file cvhaartraining.h is missing. I experimented on some pens of my own.

Should it be always square? I'm working with opencv on Windows for the start of a project but I wuold like to pass on ARM platform or FPGA for embedded aplications. TrainingHaar Training.Generate a XML file. The ideal case will required at least 5000 images.

Opencv_createsamples Tutorial

just to make sure):The command works and it is generating the samples with the distortions and all, but the problem is that it does not generate the .vec files. --> Vec Thanks a lot. July 5, 2013 at 11:23 PM ilias20 said... But, I think, you can build several stages and check the result.

  • Is there a formal way of saying 'hog'?
  • Free forum by Nabble Edit this page Pular navegação BREnviarFazer loginPesquisar Carregando...
  • Now I want to review the code and use new functionality of OpenCV.
  • Thanks a lot for posting this tutorial;i have a problem When I try the command. / Createtestsample on ubuntu it works without any errors but it doesn't generates any ".vec" files
  • The error, you mention, appears if (a+c) > sx.
  • But it doesn't work at all.
  • Is there someone who tried to detect logos?
  • I am working with Haar Classifiers in openCV and could not understand the meaning of some of the switches that are provided in the opencv_haartraining utility like -nneg and -npos.
  • The createsamples utility just creates a vec file for a maximum of 1000 samples.

I am not sure of what the memory allocation prob is. Thanks Reply Andrey Soldatov said on 25-01-2010 What version of OpenCV do you use? See next paragraph how to choose it. the number of positive sample i have given is 570 and negative samples is 1320..The height and width are 24 and 24 respectively..Please help me July 19, 2013 at 9:11 AM

Any suggestion???? Opencv Create Samples You need delete folder "haarcascade"... I need some help regarding that. http://www.samontab.com/web/2012/06/installing-opencv-2-4-1-ubuntu-12-04-lts/All the samples are running fine.So i guess the problem is not with installation.Because I am getting the same error.

Reply Andrey Soldatov said on 26-10-2010 Could you provide few rows of your info.txt and command line you use to start createsamples? Carregando... Carregando... Is it true that traincascade needs the output from haartraining as input?

Opencv Create Samples

p.s. it is no. Opencv_createsamples Tutorial Also I read in one of your posts that Haar-training is not a good idea for facial feature detection..Is this true ? Opencv_traincascade Example IMPORTANT: BLOG MOVED This Blog has been moved to achuwilson.github.io & this is no longer updated...

john_ali890 Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Re: Problem creating a haar classifier "unable to obtain positive samples" Now I would like to create a vec file from more than 1000 positive images. I have tried to use the performance tool on both training and testing data and both got the same results. Publicidade Reprodução automática Quando a reprodução automática é ativada, um vídeo sugerido será executado automaticamente em seguida.

Let it run for a couple of hours at least. Hii dgd,The pic is not opening due to some authentication issues, since I use my company laptop. May 14, 2012 at 5:56 AM Dileep Kumar said... It's 160*20.

Posted by Ahmed Ashour at 1:36 AM No comments: Tuesday, March 23, 2010 Facedetect-haartraining_training step multiprocessing Problems and solutionNo reported errors.Current stepDone with enabling the multiprocessing for the training.Retraining. If no, just click Start, Run and type ‘cmd'. You can create another xml file for the verticle angle and put it in the loop, so that when you hold it vertical, the vertical xml file gets triggered.

I really tried all possible way except increasing the number of positive sample.

I wnt through http://opencv.willowgarage.com/wiki/FaceDetection webpage but the dummy code was of no use as it dint work.( i realised it was not for opencv2.1 version) Also above in of of the sentdex 17.336 visualizações 17:25 Haar-like feature object detection - Duração: 1:02:01. Now the problem I'm facing is, I can't merge vec files using mergevec.exec, whenever I run this commandmergevec samples.dat samples.vecit says:bash mergevec: cannot execute binary file May 15, 2012 at 11:45 Somebody outthere must know what is going on.

Click here for instructions on how to enable JavaScript in your browser. eqw - if you have different number of pos and neg images, it's better to put no eqw weighttrimming - for calculation optimization. Is it right?Thanks for help March 20, 2013 at 4:03 AM Dileep Kumar said... I tried to increased my training data (>2000 pos and >2000 neg samples) but after some hours nothing happens anymore.

All steps were successful until this command (opencv_haartraining -data haarcascade -vec samples.vec -bg negatives.dat -nstages 20 -nsplits 2 -minhitrate 0.999 -maxfalsealarm 0.5 -npos 250 -nneg 99 -w 160 -h 20 -nonsym January 29, 2014 at 11:03 AM Dileep Kumar said... Hii,There is no 24*24 in the command I have mentioned. you see, i know how to use it but my doubt is in the later table for the ROC plot, i know that the column 3 it's the hit rate and

In my negative set, may a include images of arbitrary size, or i should resize all images to -w -h of the detection? Nope, I did not try to evaluate the performance, as anyway it will be lower. Powered by WordPress | Designed by WebDesignLessons.com opencv-users Search everywhere only in this topic Advanced Search HaarTraining Problem Classic List Threaded ♦ ♦ Locked 2 messages Jamshid Dastur Reply | Threaded For faces, commonly used values are 24×24, 20×20.

August 19, 2013 at 10:02 AM Hassan Mehmood said...