live working with image
This commit is contained in:
@@ -179,4 +179,5 @@ else:
|
||||
|
||||
for frame in frames:
|
||||
print('.')
|
||||
Image.fromarray(np.frombuffer(frame, dtype='>H').reshape(WIDTH, HEIGHT)).save(f'live.png')
|
||||
Image.fromarray(np.frombuffer(frame, dtype='>H').reshape(WIDTH, HEIGHT)).save(f'live.new.png')
|
||||
os.rename('live.new.png', 'live.png')
|
||||
|
||||
Reference in New Issue
Block a user