Prev: mean from histogram
Next: Problem-counting people
From: Armin Susa on 9 May 2010 06:36 I have one big problem. Let me explain. I have one project, where I need to count number of people on the stadium or in the class, but that code must work for every other image. How to do it? Thank you.
From: TideMan on 9 May 2010 07:00 On May 9, 10:39 pm, "Armin Susa" <armin.s...(a)gmail.com> wrote: > I have one big problem. Let me explain. I have one project, where I need to count number of people on the stadium or in the class, but that code must work for every other image. How to do it? Thank you. Actually, I've always found that my fingers are pretty good for counting. And when you get to the end of your fingers, you just increment the tens by one and start back at the beginning again.
From: us on 9 May 2010 07:25 "Armin Susa" <armin.susa(a)gmail.com> wrote in message <hs636j$8jh$1(a)fred.mathworks.com>... > I have one big problem. Let me explain. I have one project, where I need to count number of people on the stadium or in the class, but that code must work for every other image. How to do it? Thank you. quite a task you got... now, what have YOU done so far to solve YOUR particular problem... us
From: ImageAnalyst on 9 May 2010 08:18 On May 9, 6:36 am, "Armin Susa" <armin.s...(a)gmail.com> wrote: > I have one big problem. Let me explain. I have one project, where I need to count number of people on the stadium or in the class, but that code must work for every other image. How to do it? Thank you. --------------------------------------------------------------------------------------- I'd get an image (from the same viewpoint) of the stadium when it's totally empty, then subtract the image when it's filled with people. Take the absolute value, then threshold to get a binary image. Do a little clean up (e.g. size filtering) and then call bwlabel(). One of the outputs of bwlabel is the number of objects in the binary image.
From: Walter Roberson on 9 May 2010 11:15 Armin Susa wrote: > I have one big problem. Let me explain. I have one project, where I need > to count number of people on the stadium or in the class, but that code > must work for every other image. How to do it? How do you count people who are not fully visible? For example, how would you process something relatively simple such as "The Vanishing Leprechaun Puzzle" ?
|
Pages: 1 Prev: mean from histogram Next: Problem-counting people |