First time here? Check out the FAQ!
answered 2016-03-13 01:46:08 -0600
you just need another counter variable:
n = 0 for (x,y,w,h) in faces: ... cv2.imwrite("output/crop"+str(pic)+ "_" +str(n)+".jpg", imgCrop) n += 1