1. A method, comprising: receiving an image; determining a color depth of the received image, the color depth corresponding to at least one of grayscale, bi-tonal and color; reducing color depth of the received image to generate a bi-tonal representation of the image in response to determining the color depth of the received image is not bi-tonal; identifying a set of one or more graphical line candidates in either the bi-tonal image or the bi-tonal representation, the graphical line candidates including one or more of true graphical lines and false positives; discriminating any of the true graphical lines from any of the false positives; removing the true graphical lines from the bi-tonal image or the bi-tonal representation without removing the false positives to generate a component map comprising connected components and excluding graphical lines; identifying one or more of the connected components in the component map; and one or more of: outputting an indicator of each of the connected components, each indicator identifying one or more of the connected component and a particular class to which the connected component corresponds; and displaying the indicator of each of the connected components; and wherein the indicator comprises one or more of a label identifying the particular class to which the connected component corresponds, and a bounding box surrounding the connected component.