Ejemplo n.º 1
0
 def __init__(self):
     PiVideoStream.__init__(self, (640, 480))
     # camera.vflip = True
     camera.hflip = True
     camera.awb_mode = 'off'
     # camera.image_effect = 'solarize'
     # camera.image_effect_params = 0
     camera.brightness = 75
     camera.awb_gains = (1.45, 1.45)
     camera.exposure_mode = 'off'
Ejemplo n.º 2
0
    def __init__(self):
        PiVideoStream.__init__(self)
        self.ds = DataSet()
        self.clrSet_lab = self.ds.clrset_lab
        #self.clrSet_lab = unpickle("colorset_lab")

        self.panel = np.zeros([100, 700], np.uint8)
        cv2.namedWindow("Panel")

        cv2.createTrackbar("L", "Panel", 254, 508, self.nothing)
        cv2.createTrackbar("A", "Panel", 254, 508, self.nothing)
        cv2.createTrackbar("B", "Panel", 254, 508, self.nothing)
Ejemplo n.º 3
0
 def __init__(self):
     PiVideoStream.__init__(self)
     pass
Ejemplo n.º 4
0
 def __init__(self):
     PiVideoStream.__init__(self)
     self.ds = DataSet()
     self.clrSet_lab = self.ds.clrset_lab
     self.shapeSet_cnt = self.ds.shapeset_cnt