def capture(self):
        filename = self.get_new_photo_filename()
        open(self.camid + '/' + filename, 'wb').write(self.fake_shot)
        return filename
Capture a (fake) picture. This really copies a stock jpeg.
dataset/ETHPy150Open miguelgrinberg/oreilly-flask-apis-video/camera/camera.py/FakeCamera.capture