1. A computer-implemented method of image matching, the method comprising: receiving a first image of at least part of a first media type; distinguishing between a first text patch and an image patch in the first image; determining a quality of the first text patch; determining that the quality of the first text patch is unreliably processable for extracting the plurality of features from the first text patch; generating instructions for modifying a focus of an optics device based on the quality of the first text patch; receiving a second image of at least part of the first media type; determining the quality of a second text patch in the second image; validating the quality of the second text patch as being reliably processable for extracting a plurality of features from the second text patch; extracting from the second text patch the plurality of features including a vertical grouping of a first word boundary with one or more second word boundaries present above or below overlapping the first word boundary in the second text patch; extracting from the second text patch a geometric relationship between the plurality of features, the geometric relationship including one or more angles between the first word boundary and the one or more second word boundaries in the plurality of features; generating a query for identifying a document corresponding to the second text patch using the plurality of features and the geometric relationship; applying the query against a collection of documents in a database; and in response to positively applying the query, returning an identification comprising a matching document and a location of the second text patch within the portion of the matching document.