1. A method for edge detection during an imaging operation, comprising: subdividing an imaging area into a plurality of border detection zones; scanning the imaging area including media to be scanned to obtain optical data for each of the plurality of border detection zones; and identifying at least one edge of the media based on change in the optical data between directly adjacent border detection zones, where the change indicates detection of a moiré pattern, wherein identifying the at least one edge is by detecting high frequency lines in the moiré pattern unresolved as separate lines during the imaging operation, the moiré pattern indicating space outside of borders of a media being scanned.