Experiment with 640x480 fixed frame
Change-Id: Iafcb0002cfdaa5a9db17928c02d65831196dc5c6
diff --git a/person_detection/person_detection.py b/person_detection/person_detection.py
index 9c5f0d9..d61af16 100644
--- a/person_detection/person_detection.py
+++ b/person_detection/person_detection.py
@@ -128,6 +128,10 @@
# Parse detection results of the current request
res = exec_net.requests[cur_request_id].outputs[out_blob]
+ initial_w = 640
+ initial_h = 480
+ frame = cv2.resize(frame, (initial_w, initial_h))
+
for obj in res[0][0]:
# Draw only objects when probability more than specified threshold
if obj[2] > self.prob_threshold: