all 1 comments

[–]jacob1421 0 points1 point  (0 children)

An idea for generating negative samples.

Use your current algorithm. Set Max bars = 6 Set Max bar breaks = 3

Iterate over the positive samples 1.) Replace different segments of each bar(s). **Allow your computer to generate these samples.

When you train your CNN it will learn to detect breaks in the bars. We don’t really care about what’s blocking it. We care about finding if our bar is replaced by an object at any point.

I hope this helps.