Detecting the edges of a sheet

I think a mechanical solution may be the best to consider. Conical rollers? Guides?

Even if you come up with a method of detecting the edge what method would you use to correct it?