Flap migration is a phenomenon in which pieces of glass assembled into a composite image may move toward or scan the image. This occurs because the components of glass have different refractive indices, causing the angle of refraction of light within the glass to change. Scanning an image with glass consists of several stages: at the beginning of the scan, the system reads the original original to ensure the exact position of the image on the glass and determine the required panorama. This information is used to adjust the scan and maintain a constant image position. After this, the process of scanning the image itself begins, which involves moving it and projecting it onto a lens that was previously moved in front of the scanning glass. The system then determines how to move