using latest version of scanning library (now uses OpenCV)