This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cv2 | |
import rospy | |
import argparse | |
import numpy as np | |
import matplotlib.pyplot as plt | |
from cv_bridge import CvBridge | |
from sensor_msgs.msg import Image | |
class Segmenter(): | |
def __init__(self, args): |