1. A method executed at least in part on a computing device to detect and extract one or more components of a document in image format, the method comprising: receiving the document in image format, wherein a content of the document includes text, one or more paths and one or more images, detecting the text within the content of the document in image format; binarizing the document in image format; extracting the detected text from the content of the binarized document in image format; detecting the one or more paths within the content of the document in image format, wherein the one or more paths represent basic elements of the content of the document in image format; extracting the one or more detected paths from the binarized document in image format by coloring a bounding box for each detected path into a background color and determining the background color by counting a number of black and white pixels surrounding the bounding box; detecting the one or more images from the content of the binarized document in image format; and extracting the one or more detected images from the binarized document in image format.