def __init__(self, parent, title, server, port):
        # initialise frame
        wx.Frame.__init__(self, parent, title=title, size=(320, 240))
        # add camera frame
        print "using camera at %s:%s" % (server, port)
        self.camera_frame = CameraPanel(self, server, port)
        # setup callback timer
        interval_time = 250
        self.timer = wx.Timer(self)
        self.Bind(wx.EVT_TIMER, self.on_timer, self.timer)
        self.timer.Start(interval_time, False)
        # and go
        self.Show()
dataset/ETHPy150Open FishPi/FishPi-POCV---Command---Control/fishpi/ui/camera_view.py/CameraViewer.__init__/original