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
| #!/usr/bin/env python | |
| import cv2 | |
| import numpy as np | |
| import rospy | |
| from std_msgs.msg import String | |
| # open a debug window and draw the bounding rects | |
| GUI_MODE = False | |
| # print the HSV-Value of the pixel 100, 100, this is handy if you want to fine tune the colors |