Commit b6b340b0 authored by Larkin Heintzman's avatar Larkin Heintzman

changes to darknet image processor script

parent b62830fe
...@@ -12,8 +12,8 @@ import json ...@@ -12,8 +12,8 @@ import json
class ImageProcessor(): class ImageProcessor():
def __init__(self): def __init__(self):
self.bridge = CvBridge() self.bridge = CvBridge()
self.imageSubscriber = rospy.Subscriber("/darknet_ros/detection_image", Image, self.imageCallback, queue_size=1) self.imageSubscriber = rospy.Subscriber("darknet_ros/detection_image", Image, self.imageCallback, queue_size=1)
self.boxSubscriber = rospy.Subscriber("/darknet_ros/bounding_boxes", BoundingBoxes, self.boxCallback, queue_size=1) self.boxSubscriber = rospy.Subscriber("darknet_ros/bounding_boxes", BoundingBoxes, self.boxCallback, queue_size=1)
self.params = None self.params = None
self.image = None self.image = None
self.seq = None self.seq = None
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment