py-faster-rcnn
py-faster-rcnn copied to clipboard
TypeError: slice indices must be integers or None or have an __index__ method
i have this error:
Traceback (most recent call last):
File "abcd_contour.py", line 32, in
code:
#mask = np.zeros(im.shape,np.uint8) mean_val = cv2.mean(im) letter = im[y:y+h,x:x+w] print(mean_val)
Any help?? python 3.6 numpy 1.13.3