opencv - Need Haar Casscades for coins (especially euro ones) -
i need haar cascade classifier detect coins, in particular euros, if exists. have been trying generate own days bur results bad. or maybe, know tutorial? thank you
you're not going find many cascades pre-made coins, or euros. i'd recommend training own.
as tutorials, used opencv 3.0 traincascade tutorial when creating lbp cascade, makes haars. used mergevec inflate positive count.
basically did when making mine this:
i generated positive vectors using opencv_createsamples
(which in opencv install) , mergevec
. created vectors off of small batches of individual positive images , negative images, game me positive images work off of. then, used mergevec
, merged vectors single vector file opencv_traincascade
use.
then, ran opencv_traincascade
new positive vector mergevec
, , negatives had. think ended 7000 negatives , 13000 positives, bit overkill got nice cascade out of it. try keep width , height below 100x100, otherwise take week train.
Comments
Post a Comment