WOLFRAM

returns the current image captured from a connected camera.

returns n sequential image frames as a list.

Details and Options

Examples

open allclose all

Basic Examples  (2)Summary of the most common use cases

Capture an image with the built-in camera:

Out[1]=1

Detect and highlight faces:

Dynamic capturing:

Out[1]=1

Scope  (2)Survey of the scope of standard use cases

Capture multiple frames at a time:

Out[1]=1

Dynamic capturing and processing:

Out[1]=1

Options  (3)Common values & functionality for each option

ImagePreviewFunction  (1)

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

Out[1]=1

Apply a function to the images before displaying:

Out[2]=2

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

Out[3]=3

ImageSize  (1)

Set the displayed size:

Out[12]=12
Out[2]=2

RasterSize  (1)

Set the resolution of the image returned:

Out[12]=12

Applications  (3)Sample problems that can be solved with this function

Time-lapse recording of image frames:

Out[96]=96

Create an animation from a series of captured images:

Out[1]=1

A simple dynamic motion detector:

Out[1]=1

Properties & Relations  (1)Properties of the function, and connections to other functions

Open a device using DeviceOpen:

Out[1]=1
Out[7]=7

Use DeviceClose to close the imaging device:

Wolfram Research (2010), CurrentImage, Wolfram Language function, https://reference.wolfram.com/language/ref/CurrentImage.html (updated 2018).
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).

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.

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

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

BibTeX

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

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

BibLaTeX

@online{reference.wolfram_2025_currentimage, organization={Wolfram Research}, title={CurrentImage}, year={2018}, url={https://reference.wolfram.com/language/ref/CurrentImage.html}, note=[Accessed: 29-March-2025 ]}

@online{reference.wolfram_2025_currentimage, organization={Wolfram Research}, title={CurrentImage}, year={2018}, url={https://reference.wolfram.com/language/ref/CurrentImage.html}, note=[Accessed: 29-March-2025 ]}