diff --git a/people_tracking/src/people_tracking/people_tracker.py b/people_tracking/src/people_tracking/people_tracker.py index cf3a1bc..853efaf 100755 --- a/people_tracking/src/people_tracking/people_tracker.py +++ b/people_tracking/src/people_tracking/people_tracker.py @@ -719,7 +719,7 @@ def loop(self): validity = self.approved_targets[-val_idx].valid_measurement val_idx += 1 - if current_time - self.approved_targets[-val_idx].time > 2: + if current_time - self.approved_targets[-val_idx].time > 3: rospy.loginfo("Target Lost") self.target_lost = True else: diff --git a/people_tracking/src/people_tracking/person_detection.py b/people_tracking/src/people_tracking/person_detection.py index ba65a47..fa655d4 100755 --- a/people_tracking/src/people_tracking/person_detection.py +++ b/people_tracking/src/people_tracking/person_detection.py @@ -121,8 +121,8 @@ def process_latest_image(self): # Import RGB Image cv_image = self.bridge.imgmsg_to_cv2(latest_image, desired_encoding='passthrough') cv_image = cv2.GaussianBlur(cv_image, (5, 5), 0) - if not laptop: - cv_image = cv2.cvtColor(cv_image, cv2.COLOR_RGB2BGR) + # if not laptop: + # cv_image = cv2.cvtColor(cv_image, cv2.COLOR_RGB2BGR) # Save Image if save_data: