1,the work is done so that it can change the size and position of the scanner rectangle