Note that there are some explanatory texts on larger screens.

plurals
  1. POFilter unwanted blobs (Detect numbers in image)
    primarykey
    data
    text
    <p>I'm writing interesting application where I want to get numbers out of a runner t-shirt. I was playing around with AForge.NET and emguCV to get the desired result and I think I'm very close to solving my problem, but still I would like to get opinion from the more experience users. First I have this image: </p> <p><img src="https://i.stack.imgur.com/IFx2l.jpg" alt="enter image description here"> After that I apply it a max contrast and some lightening and I get this result:</p> <p><img src="https://i.stack.imgur.com/RBoGh.jpg" alt="enter image description here"> Next I binarize the image and get this final result: <img src="https://i.stack.imgur.com/oHBml.jpg" alt="enter image description here"> [^]</p> <p>Next I apply some basic filters to clear out the small blobs and the very big ones. Next I try to find blobs who have their height>width and after that I try to find similar blob sizes and shapes who are one next to another. This is my approach and in most of the situations works for me. As addition I create histogram of the possible blobs that I may consider as a letter. This means that I look for 2 dominant colors in that rectangle. If the two dominant colors are black(ish) or white(ish) than I know it is a number on the runners shirt. What I want to know, is there any different approach that you would do? Like mixing channels, converting to HSV space and maybe filtering black colors? My whole idea is to get those numbers with small amount of blobs that aren't numbers. I would appreciate any kind of suggestions. Comments and ideas are just fine, if you want to write code please do. Thank You...</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload