Open KuangyiXing opened 7 years ago
Hi, kindly remind that "img = cv2.rectangle(img,(x,y),(x+w,y+h),(255,0,0),2)" should be converted into "cv2.rectangle(img,(x,y),(x+w,y+h),(255,0,0),2)" to fix the bug "TypeError: 'NoneType' object has no attribute 'getitem'"
I get the same error as well
Hi, kindly remind that "img = cv2.rectangle(img,(x,y),(x+w,y+h),(255,0,0),2)" should be converted into "cv2.rectangle(img,(x,y),(x+w,y+h),(255,0,0),2)" to fix the bug "TypeError: 'NoneType' object has no attribute 'getitem'"