How to train good cascade? [closed]

asked 2018-02-27 05:05:38 -0600

Y2Kot gravatar image

updated 2018-02-27 08:44:16 -0600

berak gravatar image

Hello. I have a task to find a dot on the screen. Can you help me to train the best cascade? What settings should I use? Now maded cascade can't find my dot or chooses a lot of false items on the screen.

Here is my Good and Bad samples:

Example of the image with dot in Good folder:

image description

image description

Example of the image file without dot from Bad folder:

image description

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by sturkmen
close date 2020-11-05 12:35:24.196079

Comments

Some comments

  • People will never download your random zip files :D
  • A cascade to detect dots? I am quite sure that is not the best approach.
  • Provide sample images in this topic, so we can help you find the best solution!
StevenPuttemans gravatar imageStevenPuttemans ( 2018-02-27 08:20:06 -0600 )edit

fixed, thank you for your reply. I'm not sure how it correctly name in english - maybe circle will be better.

Y2Kot gravatar imageY2Kot ( 2018-02-27 08:26:05 -0600 )edit

There is no object in your test image?

StevenPuttemans gravatar imageStevenPuttemans ( 2018-02-27 08:29:57 -0600 )edit

first two images is an example of my object, I'll add full Good folder screenshot.

Y2Kot gravatar imageY2Kot ( 2018-02-27 08:32:00 -0600 )edit
1

i'm afraid, too, that your idea won't work, ever.

your dots seem pretty random, it needs something "rigid", with a well defined texture here (think of a face, or a stop-sign)

also, it can't learn anything from "just black" negative images.

again, most probably it's the wrong tool for your job. try with much simpler tools, like the SimpleBlobDetector, findContours, etc.

berak gravatar imageberak ( 2018-02-27 08:37:33 -0600 )edit

ok, sry. I just tried to explain

Y2Kot gravatar imageY2Kot ( 2018-02-27 08:42:56 -0600 )edit

nvm, it's actually a good image, because it highlights the problem (input data far too random) !

berak gravatar imageberak ( 2018-02-27 08:45:26 -0600 )edit

Good images was made with 2 cameras. Will it work if I'll make to cascade for each camera?

Y2Kot gravatar imageY2Kot ( 2018-02-27 08:49:01 -0600 )edit
1

sorry, but you'll probably have to look for an alternative method of detecting those dots.

training cascades on this unfortunately seems to be an entire waste of time

berak gravatar imageberak ( 2018-02-27 08:58:35 -0600 )edit

What will be better to use?

Y2Kot gravatar imageY2Kot ( 2018-03-01 01:29:31 -0600 )edit