1. A method, comprising: receiving a request to capture data comprising a digital video; capturing the data using a capture component of a mobile device in response to receiving the capture request, wherein the captured data corresponds to a digital representation of a document; outputting the captured data to one or more of a display of the mobile device, a processor of the mobile device, and a storage medium of the mobile device; receiving a request to analyze the captured data; analyzing the captured data using the mobile device in response to receiving the request to analyze, wherein analyzing the captured data includes detecting the digital representation of the document, and detecting the digital representation of the document in the captured data comprises: using a processor, defining a plurality of candidate edge points corresponding to the digital representation of the document, wherein defining the plurality of candidate edge points comprises: defining one or more large analysis windows within a digital image; defining a plurality of small analysis windows within the digital image; estimating one or more distributions of statistics for each large analysis window; calculating one or more statistics for each small analysis window; determining whether a statistically significant difference exists between one or more of the statistics calculated for one of the small analysis windows and a corresponding distribution of statistics estimated for one of the large analysis windows; and designating a point in the small analysis window as a candidate edge point upon determining the statistically significant difference exists; defining four sides of a tetragon based on the plurality of candidate edge points; and outputting the digital representation of the document and the tetragon to the display of the mobile device; and outputting a result of the analyzing to one or more of the display of the mobile device, the processor of the mobile device, and the storage medium of the mobile device.