Detecting the edges of a sheet

I'd use a laser beam with a LDR to detect if the foil is moving. If you install such a solution on both sides you get an immediate digital signal if the centering is not within the limits.