WLJS LogoWLJS Notebook

CurrentImage

CurrentImage[] returns the current image captured from a connected camera.

CurrentImage[n] returns n sequential image frames as a list.

Examples

Capture current webcam image:

CurrentImage[]

Capture multiple frames:

CurrentImage[5]
(* List of 5 images *)

Please visit the official Wolfram Language Reference for more details.

On this page