A simple code which can be used to detect an object in an image.