Hi, converted your files to .cascade but didn’t test.
cas_bin.zip (1.02 KB)
tested still freeze. if you have any cascade file I can load and test without problem,
I will redo the process of training and come up with a more solid result.
The files I sent you only run 5 stages.
Is this an LBP or HoG cascade ? Those are not supported.
command used to do training:
opencv_traincascade.exe -data cascades -vec vect/dotvector.vec -bg negative/bg.txt -FeatureType HAAR -baseFormatSave -numPos 45 -numNeg 86 -numStages 25 -mode ALL -w 24 -h 24
I had rerun the process to come up a new cascade xml as the attached file.
also install ubuntu on windows, and tried to run the following command:
python2.7 openmv-cascade.py -s 24 -n dotcascade cascades.xml
the result shows:
Converting old XML format…
Traceback (most recent call last):
File "openmv-cascade.py ", line 416, in
main()
File "openmv-cascade.py ", line 413, in main
cascade_binary_universal(args.file, args.stages, args.name )
File "openmv-cascade.py ", line 92, in cascade_binary_universal
cascade_binary_old(path, n_stages, name)
File "openmv-cascade.py ", line 211, in cascade_binary_old
raise Exception(“The max number of stages is: %d”%(max_stages))
Exception: The max number of stages is: 9
I appreciate any help to complete the convertion process.
Best Regards,
Kenny Liu
cascades.xml (53.5 KB)
FYI , the process of training ran to stage 24 and seems not finished,
see attached screen snapshot.
sorry for the false alarm, my problem has been solved.
Mind posting what steps you got to get it working?