Beispiel #1
0
    def filegenerator(self):


        with open('new.png', 'wb') as f:
            l = self.s.recv(99216)

            while len(l)!=0:
                f.write(l)
                l = self.s.recv(99216)
            time.sleep(0.2)
            obj = ImageProcessing()
            obj.removeBackGroundWithApi()