From eff10799972d10216b41c80fe5b15d2a7df724d4 Mon Sep 17 00:00:00 2001 From: Chris Anderson Date: Tue, 28 Dec 2021 14:19:31 -0800 Subject: [PATCH] Added missing parentheses --- notebooks/collect_images.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notebooks/collect_images.ipynb b/notebooks/collect_images.ipynb index c915888..b00dccc 100644 --- a/notebooks/collect_images.ipynb +++ b/notebooks/collect_images.ipynb @@ -60,7 +60,7 @@ "image = camera.read()\n", "try:\n", " print(\"!!!!!START!!!!!\")\n", - " while (counter < (total_pictures):\n", + " while (counter < (total_pictures)):\n", " image = camera.read()\n", " cv2.imwrite('./'+dir+'/' + 'data_point_' + \"{:04d}\".format(counter) + \".jpg\", (image))\n", " counter = counter + 1\n",