Initial code for Object detection