From 477657e1b4ff7685b8cd90890b413d899580deda Mon Sep 17 00:00:00 2001
From: Vesa Halenius <vesa.m.halenius@utu.fi>
Date: Tue, 20 Feb 2018 22:09:59 +0200
Subject: [PATCH] Update sbs_client.py

---
 client/sbs_client.py | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/client/sbs_client.py b/client/sbs_client.py
index 4e81644..1232522 100644
--- a/client/sbs_client.py
+++ b/client/sbs_client.py
@@ -45,20 +45,8 @@ def takePicture():
     gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)
     faces = face_cascade.detectMultiScale(gray, 1.3, 5)
 
-    for (x,y,w,h) in faces:
-        cv2.rectangle(frame,(x,y),(x+w,y+h),(255,0,0),2)
-        roi_gray = gray[y:y+h, x:x+w]
-        roi_color = frame[y:y+h, x:x+w]
-
-    x = 0
-    y = 20
-    text_color = (0,255,0)
-
     cv2.imwrite(image,frame)
     cap.release()
-#    cv2.destroyAllWindows()
-
-
 
 takePicture()
 sendImage()
-- 
GitLab