Ask Your Question

Sander's profile - activity

2013-08-29 08:37:19 -0600 commented question Debug Assertion Failed: trouble with traincascade.exe after creating

Im just trieing different commands. Maybe some of these will run. -vec and -bg args is diffenetly right now.

2013-08-29 07:42:58 -0600 commented question Debug Assertion Failed: trouble with traincascade.exe after creating

Yes indeed thats pretty wrong.

1: D:\test6\temp\opencv_traincascade.exe -data cascade -vec D:\test6\temp\data\vector.vec -bg D:\test6\temp\negative\infofile.txt -npos 900 -nneg 1950 -nstages 30 -mem 1000 -mode ALL -w 24 -h 24 -nonsym

2: D:\test6\temp\opencv_traincascade.exe -data cascade -vec data/vector.vec -bg negative/infofile.txt -npos 900 -nneg 1950 -nstages 30 -mem 1000 -mode ALL -w 24 -h 24 -nonsym

3: D:\test6\temp\opencv_traincascade.exe -data/cascade -vec D:\test6\temp\data\vector.vec -bg D:\test6\temp\negative\infofile.txt -npos 900 -nneg 1950 -nstages 30 -maxfalsalarm 0.5 -minhitrate 0.99 -mem 1000 -mode ALL -w 24 -h 24 -nonsym

Still does not work. Could I get your traincascade.exe or would it be a problem?

2013-08-29 06:26:41 -0600 commented question Debug Assertion Failed: trouble with traincascade.exe after creating

Ty for your reply. I tried this now:

  1. D:\test6\temp\opencv_traincascade.exe -D:\test6\temp\data\cascade -vec D:\test6\temp\data\vector.vec -bg D:\test6\temp\infofile.txt -npos 900 -nneg 1950 -nstages 30 maxfalsalarm 0.5 and minhitrate 0.99 -mem 1000 -mode ALL -w 24 -h 24 -nonsym

  2. D:\test6\temp\opencv_traincascade.exe -data/cascade -vec D:\test6\temp\data\vector.vec -bg D:\test6\temp\infofile.txt -npos 900 -nneg 1950 -nstages 30 maxfalsalarm 0.5 and minhitrate 0.99 -mem 1000 -mode ALL -w 24 -h 24 -nonsym

  3. D:\test6\temp\traincascade.exe -vec data/vector.vec

Still does not run.

2013-08-26 01:50:40 -0600 asked a question Debug Assertion Failed: trouble with traincascade.exe after creating

Hello,

after many tries with haartraining.exe I finally switched over to traincascade.exe. After creating the traincascade.exe with microsoft visual c++ I had the first problem. Could not find .dll files. Pretty easy fixed with the path direction. After this I tried again. Here is the picture:

image description

I used this following commands:

  1. LisD:\test6\temp\traincascade.exe -data/cascade -vec data/vector.vec -bg negative/infofile.txt -npos 1048 -nneg 2068 -nstages 30 -mem 1000 -mode ALL -w 24 -h 24 -nonsymt item

  2. D:\test6\temp\traincascade.exe -data/cascade -vec data/vector.vec -bg negative/infofile.txt -npos 1048 -nneg 2068 -nstages 30

  3. D:\test6\temp\traincascade.exe -data/cascade -vec data/vector.vec -bg negative/infofile.txt -npos 900 -nneg 1950 -nstages 30 maxfalsalarm 0.5 and minhitrate 0.99 -mem 1000 -mode ALL -w 24 -h 24 -nonsym

  4. D:\test6\temp\traincascade.exe -data/cascade -vec data/vector.vec -bg negative/infofile.txt -npos 800 -nneg 1850 -nstages 30 maxfalsalarm 0.5 and minhitrate 0.99 -mem 1000 -mode ALL -w 24 -h 24 -nonsym

When I use this command: 1. D:\test6\temp\traincascade.exe -data/cascade -vec data/vector.vec -bg negative/infofile.txt -npos 900 -nneg 1950 -nstages 30 -mem 1000 -mode ALL -w 24 -h 24 -nonsym

I get another error. Here is a picture of it: image description I know that I get this error when a library is missing, but I just took them all in.

I don't know how to solve this errors. Can somebody help me??

Thanks in advance.

2013-08-07 07:46:25 -0600 received badge  Scholar (source)
2013-08-07 07:10:35 -0600 commented answer Problem: haartraining.exe crashes while training

Ok ty alot.

2013-08-07 07:00:22 -0600 commented answer Problem: haartraining.exe crashes while training

Do you have something with java examples? The problem is that I write with java on eclipse. Or is C++ important for that?

2013-08-07 06:48:26 -0600 commented answer Problem: haartraining.exe crashes while training

Do you have a good tutorial or something like that? I would like to read abit about it ;)

2013-08-07 05:56:06 -0600 commented answer Problem: haartraining.exe crashes while training

C:\Users\sander.buchheim\Desktop\test4\temp\haartraining.exe -data/cascade -vec data/vector.vec -bg negative/infofile.txt -npos 900 -nneg 1950 -nstages 30 -mem 1000 -mode ALL -w 24 -h 24 -nonsym

Still does not work. I deleted the stages before and started a new one. Some other possible solutions?

2013-08-07 01:45:17 -0600 commented answer Problem: haartraining.exe crashes while training

Ok ty alot. I gonna try it. I gonna say if this run ;)

2013-08-07 01:08:21 -0600 commented answer Problem: haartraining.exe crashes while training

Still does not run. Just tried with 900npos and with -minhitrate 0.9 -maxfalsealarm 0.5. Both are getting the error. Should I restart whole process or can I start with the old folders?

2013-08-06 08:07:23 -0600 commented answer Problem: haartraining.exe crashes while training

I'll try it with 900 npos. Hopefully it will run.

2013-08-06 08:05:59 -0600 commented answer Problem: haartraining.exe crashes while training

Okay I got the same error with this command: C:\Users\sander.buchheim\Desktop\test4\temp\haartraining.exe -data/cascade -vec data/vector.vec -bg negative/infofile.txt -npos 1000 -nneg 2068 -nstages 30 -mem 1000 -mode ALL -w 24 -h 24 -nonsym

The Problem is that I can't see the exact error code. I just put a picture in the post aswell.

2013-08-06 07:34:53 -0600 commented answer Problem: haartraining.exe crashes while training

Ty alot I gonna try it and if the error comes again I will post the exact error.

2013-08-06 06:24:06 -0600 received badge  Critic (source)
2013-08-06 05:47:21 -0600 received badge  Supporter (source)
2013-08-06 05:30:52 -0600 received badge  Editor (source)
2013-08-06 05:14:04 -0600 asked a question Problem: haartraining.exe crashes while training

Hello,

I have a small problem. I already did many cascade but this is my first error which I dont know how to solve. I have 1048 positive and 2068 negative images. I prepared everthing for the haartraining and this are my commands:

C:\Users\sander.buchheim\Desktop\test4\temp\createsamples.exe -info positive/info.txt -vec data/vector.vec -num 1048 -w 24 -h 24

C:\Users\sander.buchheim\Desktop\test4\temp\haartraining.exe -data/cascade -vec data/vector.vec -bg negative/infofile.txt -npos 1048 -nneg 2068 -nstages 30 -mem 1000 -mode ALL -w 24 -h 24 -nonsym

I used this tutorial: http://nayakamitarup.blogspot.de/2011/07/how-to-make-your-own-haar-trained-xml.html

The program crahs in stage 16 when it tried to load the background.

At excatly 67% a windows window open and says that the program is crashed. Do you have a solution for it?

Here a picture:

image description

Already tried this possible solutions with the old folders:

Run with this command: C:\Users\sander.buchheim\Desktop\test4\temp\haartraining.exe -data/cascade -vec data/vector.vec -bg negative/infofile.txt -npos 1048 -nneg 2068 -nstages 30 -mem 1000 -mode ALL -w 24 -h 24 -nonsym -minhitrate 0.9 -maxfalsealarm 0.5 - does not work

Run with this command: C:\Users\sander.buchheim\Desktop\test4\temp\haartraining.exe -data/cascade -vec data/vector.vec -bg negative/infofile.txt -npos 900 -nneg 1950 -nstages 30 -mem 1000 -mode ALL -w 24 -h 24 -nonsym - does not work

Already tried this possible solutions with new setup:

Run with this command: C:\Users\sander.buchheim\Desktop\test4\temp\haartraining.exe -data/cascade -vec data/vector.vec -bg negative/infofile.txt -npos 900 -nneg 1950 -nstages 30 -mem 1000 -mode ALL -w 24 -h 24 -nonsym - does not work

Thanks in advance.