opencv object detection sample code