Object detection & binarization