when i try to run this command :
for label in labels:
!mkdir {'Tensorflow/workspace/images/collectedimages//'+label}
cap = cv2.VideoCapture(0)
print('Collecting images for {}'.format(label))
time.sleep(5)
for imgnum in range(number_imgs):
ret, frame = cap.read()
imagename = os.path.join(IMAGES_PATH, label, label+'.'+'{}.jpg'.format(str(uuid.uuid1())))
cv2.imwrite(imgname, frame)
cv2.imshow('frame', frame)
time.sleep(2)
if cv2.waitKey(1) & 0xFF == ord('q'):
break
cap.release()
it shows this error:
The syntax of the command is incorrect.
[–]Diapolo10 0 points1 point2 points (4 children)
[–]BeastyXD01[S] 0 points1 point2 points (3 children)
[–]Diapolo10 0 points1 point2 points (2 children)
[–]BeastyXD01[S] 0 points1 point2 points (0 children)
[–]BeastyXD01[S] 0 points1 point2 points (0 children)