Improved object detection

Caution: The object detector assumes rather solid "blobs"; there may be problems
with objects like the giraffe with its legs.