need c++ algorithm which will detect large objects in photos.
need c++ algorithm which will detect large objects in photos (and test program which will load jpeg from file system and show areas which have been detected to prove it works).
it should not rely on sample images to test against, it has to work for every and any photo it encounters. There should be a minimum size for objects detected. For example, if there was a large object with some smaller ones within it, the smaller ones should not be detected, they should be part of the larger object.?
So it is all about finding the larger areas of light and dark within a photograph.?
i have attached photos with lines drawn to illustrate what i want.