Skip to content

Instantly share code, notes, and snippets.

@FirefoxMetzger
Last active March 8, 2022 14:52
Embed
What would you like to do?
import imageio as iio
import matplotlib.pyplot as plt
camera = iio.get_reader("<video0>")
screenshot = camera.get_data(0)
camera.close()
plt.imshow(screenshot)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment