Object detection using CPU opencv