module mokadi.mokadi_picture

Short summary

module botadi.mokadi.mokadi_picture

Record a couple of seconds and returns the raw stream.

source on GitHub

Functions

function

truncated documentation

take_picture

Take a picture with the camera.

Documentation

Record a couple of seconds and returns the raw stream.

source on GitHub

botadi.mokadi.mokadi_picture.take_picture(filename=None, size=(1280, 720), module='cv2')

Take a picture with the camera.

Parameters
  • filename – picture to save (if not None)

  • module – module to use (look at the code).

Returns

image object

We use the examples from Capturing a single image from my webcam in Java or Python.

source on GitHub