CurrentImage

CurrentImage[]

returns the current image captured from a connected camera.

CurrentImage[n]

returns n sequential image frames as a list.

Details and Options

Examples

open allclose all

Basic Examples  (2)

Capture an image with the built-in camera:

Detect and highlight faces:

Dynamic capturing:

Scope  (2)

Capture multiple frames at a time:

Dynamic capturing and processing:

Options  (3)

ImagePreviewFunction  (1)

By default, the original captured image is displayed in the capture user interface:

Apply a function to the images before displaying:

Notice the values stored in the buffer are still the original captured frames:

ImageSize  (1)

Set the displayed size:

RasterSize  (1)

Set the resolution of the image returned:

Applications  (3)

Time-lapse recording of image frames:

Create an animation from a series of captured images:

A simple dynamic motion detector:

Properties & Relations  (1)

Open a device using DeviceOpen:

Use DeviceClose to close the imaging device:

Wolfram Research (2010), CurrentImage, Wolfram Language function, https://reference.wolfram.com/language/ref/CurrentImage.html (updated 2018).

Text

Wolfram Research (2010), CurrentImage, Wolfram Language function, https://reference.wolfram.com/language/ref/CurrentImage.html (updated 2018).

CMS

Wolfram Language. 2010. "CurrentImage." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2018. https://reference.wolfram.com/language/ref/CurrentImage.html.

APA

Wolfram Language. (2010). CurrentImage. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CurrentImage.html

BibTeX

@misc{reference.wolfram_2024_currentimage, author="Wolfram Research", title="{CurrentImage}", year="2018", howpublished="\url{https://reference.wolfram.com/language/ref/CurrentImage.html}", note=[Accessed: 17-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_currentimage, organization={Wolfram Research}, title={CurrentImage}, year={2018}, url={https://reference.wolfram.com/language/ref/CurrentImage.html}, note=[Accessed: 17-November-2024 ]}