From 4b153f63516b64bd64a84f77dcbc767987c46bb5 Mon Sep 17 00:00:00 2001
From: Tanuj Dhiman <56601466+tanujdhiman@users.noreply.github.com>
Date: Mon, 12 Oct 2020 19:16:12 +0530
Subject: [PATCH] Update cv2_read_image_time.py

---
 01-Introduction-and-Installation/cv2_read_image_time.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/01-Introduction-and-Installation/cv2_read_image_time.py b/01-Introduction-and-Installation/cv2_read_image_time.py
index c76074a..3ea201f 100644
--- a/01-Introduction-and-Installation/cv2_read_image_time.py
+++ b/01-Introduction-and-Installation/cv2_read_image_time.py
@@ -4,7 +4,8 @@
 start = cv2.getTickCount()
 
 # 读入一张图片
-img = cv2.imread('lena.jpg')
+# You should use Flag here so that it will read colored or grey 
+img = cv2.imread('lena.jpg', 0)
 
 # 停止计时
 end = cv2.getTickCount()