Skip to content

Commit

Permalink
refactor: drop defaultdict import.
Browse files Browse the repository at this point in the history
  • Loading branch information
jws-1 committed Jan 24, 2024
1 parent 5acf0fc commit faace13
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand Down

0 comments on commit faace13

Please sign in to comment.