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