From a2e788e23afa4441c35689ae20a24bbe416b7ffb Mon Sep 17 00:00:00 2001
From: Eetu Silvennoinen <eetu.silvennoinen@gmail.com>
Date: Tue, 15 Dec 2020 10:19:04 +0200
Subject: [PATCH] Edit path to pwd

---
 human_detection/src/webcam.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/human_detection/src/webcam.py b/human_detection/src/webcam.py
index 4c327f2..8705eef 100755
--- a/human_detection/src/webcam.py
+++ b/human_detection/src/webcam.py
@@ -6,7 +6,7 @@ import rospy
 import numpy as np
 import tensorflow as tf
 
-sys.path.append('/home/jerry/Documents/workspaces/human_detection/src/ROS_human_detection/human_detection/src')
+sys.path.append(os.getcwd())
 
 # For performance analysis timing, import time.
 # from analysis_tools.data_grapher import *
@@ -20,7 +20,7 @@ from object_detection.utils import label_map_util
 from object_detection.utils import visualization_utils as vis_util
 
 # Defining Paths
-CWD_PATH = '/home/jerry/Documents/workspaces/human_detection/src/ROS_human_detection/human_detection/src'
+CWD_PATH = os.getcwd()
 LABEL_MAPS = ['human_label_map.pbtxt', 'mscoco_label_map.pbtxt']
 MODEL_NAME = 'ssd_mobilenet_v1_coco_2017_11_17'
 PATH_TO_CKPT = os.path.join(CWD_PATH, MODEL_NAME, 'frozen_inference_graph.pb')
-- 
GitLab