Public Member Functions | |
def | __init__ |
def | start |
Public Attributes | |
bridge | |
debug | |
detector | |
image_datastream | |
image_pub | |
image_sub_topic_name | |
input_image | |
model_filename | |
object_pub | |
objects | |
use_compressed_image | |
Private Member Functions | |
def | _convert_msg_to_image |
def | _draw_boxes |
def | _parse_image |
This class interfaces to the deformable R-FCN for object detection
Definition at line 36 of file object_detectors.py.
Definition at line 40 of file object_detectors.py.
def rail_object_detector.object_detectors.DRFCNDetector._convert_msg_to_image | ( | self, | |
image_msg | |||
) | [private] |
Convert an incoming image message (compressed or otherwise) into a cv2 image
Definition at line 58 of file object_detectors.py.
def rail_object_detector.object_detectors.DRFCNDetector._draw_boxes | ( | self, | |
im, | |||
dets, | |||
classes, | |||
scale = 1.0 |
|||
) | [private] |
Definition at line 114 of file object_detectors.py.
def rail_object_detector.object_detectors.DRFCNDetector._parse_image | ( | self, | |
image_msg | |||
) | [private] |
Take in an image and draw a bounding box within it :param image_msg: Image data :return: None
Definition at line 75 of file object_detectors.py.
def rail_object_detector.object_detectors.DRFCNDetector.start | ( | self, | |
pub_image_topic = '~debug/object_image' , |
|||
pub_object_topic = '~detections' |
|||
) |
Definition at line 130 of file object_detectors.py.
Definition at line 40 of file object_detectors.py.
Definition at line 40 of file object_detectors.py.
Definition at line 40 of file object_detectors.py.
Definition at line 40 of file object_detectors.py.
Definition at line 130 of file object_detectors.py.
Definition at line 40 of file object_detectors.py.
Definition at line 40 of file object_detectors.py.
Definition at line 40 of file object_detectors.py.
Definition at line 130 of file object_detectors.py.
Definition at line 40 of file object_detectors.py.
Definition at line 40 of file object_detectors.py.