def capture(self):
        filename = self.get_new_photo_filename()
        with picamera.PiCamera() as camera:
            camera.resolution = (1024, 768)
            camera.hflip = True
            camera.vflip = True
            camera.start_preview()
            time.sleep(2)  # wait for camera to warm up
            camera.capture(self.camid + '/' + filename)
        return filename
add_weights_regularizer.
dataset/ETHPy150Open miguelgrinberg/oreilly-flask-apis-video/camera/camera.py/PiCamera.capture--crossover with--dataset/ETHPy150Open tflearn/tflearn/tflearn/helpers/regularizer.py/add_weights_regularizer