import numpy as np import cv2 # PhotoSlice: class definition for ScanSlicer behavior.