From faace13e986a18bc555950333af1c184ed8560d8 Mon Sep 17 00:00:00 2001 From: Jared Swift Date: Wed, 24 Jan 2024 11:54:22 +0000 Subject: [PATCH] refactor: drop defaultdict import. --- .../src/lasr_face_recognition/deepface.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/common/vision/lasr_face_recognition/src/lasr_face_recognition/deepface.py b/common/vision/lasr_face_recognition/src/lasr_face_recognition/deepface.py index dcbb97755..73102113f 100644 --- a/common/vision/lasr_face_recognition/src/lasr_face_recognition/deepface.py +++ b/common/vision/lasr_face_recognition/src/lasr_face_recognition/deepface.py @@ -4,7 +4,6 @@ import rospkg import rospy import os -from collections import defaultdict from lasr_vision_msgs.msg import Detection from lasr_vision_msgs.srv import RecogniseRequest, RecogniseResponse @@ -17,8 +16,6 @@ def detect(request : RecogniseRequest, debug_publisher: rospy.Publisher | None) rospy.loginfo("Decoding") cv_im = cv2_img.msg_to_cv2_img(request.image_raw) - - # Run inference rospy.loginfo("Running inference") result = DeepFace.find(cv_im, os.path.join(DATASET_ROOT, request.dataset), enforce_detection=False)