When accidantely providing an empty but correctly shaped numpy array to the pts argument in cv2.fillPoly(), a meaningfull error should be prompted. The script crashes ...