Ask Your Question

bexier's profile - activity

2019-01-02 09:16:14 -0500 received badge  Notable Question (source)
2018-05-09 14:31:13 -0500 received badge  Popular Question (source)
2014-09-03 10:42:49 -0500 commented question opencv command config and error after stages

Thanks I will look into it now!

2014-08-30 11:36:05 -0500 commented question opencv command config and error after stages

Thanks for your response. I ended up cutting positives down to 2200 and negatives to 2000 and got it to work for awhile now it says i need more samples for the next stage.

2014-08-22 08:20:34 -0500 received badge  Supporter (source)
2014-08-22 08:20:15 -0500 commented answer Cascade trainer cant be trained

I think that may have been the problem. I appreciate all of the answers and your time . I'm learning alot. I have a new computer for training purposes if ever you get some time could you check my other question?

2014-08-21 18:01:56 -0500 asked a question opencv command config and error after stages

Hello, I am trying to first find a command that will be the most effective on new Mac Pro, it has a 2.7gh 12 core processing unit and 64gb of ram. This purpose of this computer is for this training, so what would be the best training parameters to use to get a good sized training executed. Also when I use the command below it crashes and sends an error after every stage. I am a little new to opencv.

opencv_traincascade -data data -vec cars.vec -bg bg.txt -numStages 30 -nsplits 2 -minHitrate 0.95 -maxFalseAlarmRate 0.5 -numPos 2000 -numNeg 4007 -w 48 -h 24 -precalcValBufSize 2548 -precalcIdxBufSize 2548

ERROR: After Each stage ===== TRAINING 5-stage ===== <begin pos="" count="" :="" consumed="" 2000="" :="" 2021="" train="" dataset="" for="" temp="" stage="" can="" not="" be="" filled.="" branch="" training="" terminated.<="" p="">

I have 2586 pgm positive and 4007 pgm negative. I've double checked files and folders everything seem good!

So if I could get an explanation of the error if possible and an efficient training parameter help I would really appreciate it!! I want the best training I can get which is why I didn't use LPB, I heard Haar was better. If any extra info is needed let me know. Thanks in advance!

2014-08-21 17:40:29 -0500 commented answer Cascade trainer cant be trained

Hello! Thanks for all of the help. Im still not exactly sure of the problem but I converted all files to pgm files and IT WORKED. To my understanding opencv is compatible with multiple image formats. Your commands worked after I did that. Thanks for all of your help and sorry for the delay!! Hope this helps others!

2014-08-07 13:39:38 -0500 commented answer Cascade trainer cant be trained

Still I get nothing!! I am also getting a segmentation fail 11 now!

2014-08-06 09:57:33 -0500 commented answer Cascade trainer cant be trained

I will give it a try!

2014-08-02 14:57:00 -0500 commented answer Cascade trainer cant be trained

Could the image color cause a problem I do have some mixed colored and black and white photos. I read another post about it and the channel could cause this error? I even added more negative images so I am at 1072 now

2014-08-01 11:48:26 -0500 commented answer Cascade trainer cant be trained

still nothing! I have trained a few other things before and didnt have many problems. Thanks for the reply I did change those params but nothing happend!

2014-07-31 21:13:47 -0500 commented answer Cascade trainer cant be trained

@steven Thanks for the reply. Sorry for the delay I couldnt log in for some reason, I just tried that command and it did not work! I am receiving the same error. I will try to tweak a few things until I get another reply.. I appreciate the responses and look forward to hearing more!!!

2014-07-31 21:12:22 -0500 commented question Cascade trainer cant be trained

sorry for the delay there error! Train dataset for temp stage can not be filled. Branch training terminated. Cascade classifier can't be trained. Check the used training parameters.

2014-07-30 19:51:49 -0500 asked a question Cascade trainer cant be trained

Im training some images and I get this error: Train dataset for temp stage can not be filled. Branch training terminated. Cascade classifier can't be trained. Check the used training parameters.

PARAMETERS:

cascadeDirName: data vecFileName: cars.vec bgFileName: bg.txt numPos: 2050 numNeg: 4007 numStages: 35 precalcValBufSize[Mb] : 2548 precalcIdxBufSize[Mb] : 2548 stageType: BOOST featureType: HAAR sampleWidth: 48 sampleHeight: 24 boostType: GAB minHitRate: 0.995 maxFalseAlarmRate: 0.5 weightTrimRate: 0.95 maxDepth: 1 maxWeakCount: 100 mode: BASIC

Stages 0-4 are loaded

===== TRAINING 5-stage ===== <begin pos="" count="" :="" consumed="" 2050="" :="" 2073="" neg="" count="" :="" acceptanceratio="" 199="" :="" 0.0165599="" precalculation="" time:="" 79="" +----+---------+---------+="" |="" n="" |="" hr="" |="" fa="" |="" +----+---------+---------+="" |="" 1|="" 1|="" 1|="" +----+---------+---------+="" |="" 2|="" 0.999024|="" 0.763819|="" +----+---------+---------+="" |="" 3|="" 0.996585|="" 0.673367|="" +----+---------+---------+="" |="" 4|="" 0.997073|="" 0.723618|="" +----+---------+---------+="" |="" 5|="" 0.99561|="" 0.482412|="" +----+---------+---------+="" end=""> Training until now has taken 0 days 0 hours 8 minutes 37 seconds.

===== TRAINING 6-stage ===== <begin pos="" count="" :="" consumed="" 2050="" :="" 2082="" train="" dataset="" for="" temp="" stage="" can="" not="" be="" filled.="" branch="" training="" terminated.="" i've="" gotten="" this="" after="" every="" stage="" so="" far.="" i="" have="" deleted="" the="" data="" content="" as="" well.<="" p="">

I NOW have 2584 positive images 4007 negative. Any ideas of what could be the problem? Thanks in advance

2014-06-10 18:19:35 -0500 received badge  Editor (source)
2014-06-10 17:07:40 -0500 commented answer What is the best way to detect and track objects like cars truck exc?

Awesome! I will look into it. I have heard of SURF but wasn't sure! Im new to all of this and will be using Xcode! Thanks a lot.

2014-06-10 16:13:37 -0500 commented answer What is the best way to detect and track objects like cars truck exc?

Thanks! Ill check it out now.

2014-06-10 15:13:20 -0500 asked a question What is the best way to detect and track objects like cars truck exc?

I know there are many trainings I could use. Is there any answers on to which is the best for vehicles and most efficient. What would I have to do to go about starting this. Any links would be greatly appreciated!!