Ask Your Question

rors100's profile - activity

2016-11-12 05:15:23 -0600 received badge  Enthusiast
2016-11-09 12:31:49 -0600 commented answer positive image cropping haar cascades

ok actually i take that back - it is working (kind of....) its just not that accurate right now.

It hung at the 15th stage plus it took ages to train so to improve im thinking:

Add in more negatives and more positives. I do have them and now this size issue has been clarified i can get a bunch more positives in the mix. Initially i had 1030 negatives and 80 positives. I will also add in some variety to my negatives. The use case i have in mind is quite specific so i used a lot of negatives from that environment however im thinking now i should add in some more negatives from different environments.

Deploy via the the cloud for faster training time. My local device was out of action for two days.

2016-11-09 12:17:52 -0600 received badge  Supporter (source)
2016-11-09 12:17:41 -0600 answered a question positive image cropping haar cascades

ok actually i take that back - it is working (kind of....) its just not that accurate right now.

It hung at the 15th stage plus it took ages to train so to improve im thinking:

  1. Add in more negatives and more positives. I do have them and now this size issue has been clarified i can get a bunch more positives in the mix. Initially i had 1030 negatives and 80 positives. I will also add in some variety to my negatives. The use case i have in mind is quite specific so i used a lot of negatives from that environment however im thinking now i should add in some more negatives from different environments.

  2. Deploy via the the cloud for faster training time. My local device was out of action for two days.

2016-11-09 10:43:38 -0600 commented answer positive image cropping haar cascades

Hi,

Thanks for the answer - good feedback.

I ran the classifier for two days attempting to train it based around a width of 40 and height of 80. It ran for 15 out of 20 stages but then hung. I decided to cancel the training after a day at stage 14 and compiled what i had into a haar xml. Unfortunately it does not seem to be detecting anything!

Im going to try again and use the cloud to speed up training time!

2016-11-07 11:42:59 -0600 asked a question positive image cropping haar cascades

Hi,

Im taking my first steps in making a haar cascade for custom object recognition. Ive spent time getting a fair bit of data and wrote some preprocessing scripts to convert videos to frames. My next step is to crop the object of interes in order to create some positive training examples. I have a few questions which i genuinely have looked around for answers online - i'm slightly confused:-

  1. I read i should aim to keep the aspect ratio the same (http://note.sonots.com/SciSoftware/ha...) - does this mean the same as the original frame OR for all images that i want to use for positive training examples (i.e. frames from completely different videos)

  2. Size - aspect ratio and sizing are obviously not the same. So again do i need to ensure my positive samples are all the same height and width (im pretty sure they should be but thought worth double checking).

  3. Negative samples - should these all be the same aspect ratio and / or size?

I understand this is a probably a very low level/ silly question however it's been far from clear what best practice is here!

Thanks