added check for sweep
added check for sweep

SyllogismRXS/opencv-workbench,SyllogismRXS/opencv-workbench,SyllogismRXS/opencv-workbench,SyllogismRXS/opencv-workbench,SyllogismRXS/opencv-workbench,SyllogismRXS/opencv-workbench,SyllogismRXS/opencv-workbench