CurrentImage
✖
CurrentImage
Details and Options

- Dynamic[CurrentImage[]] continuously captures a stream of images.
- The following options can be given:
-
ImagePreviewFunction Identity function applied to the image when displayed ImageSize Automatic display size ImagingDevice $ImagingDevice the imaging device to use RasterSize Automatic dimensions of the captured image - CurrentImage uses the camera specified by $ImagingDevice. The value of $ImagingDevice can be reset to any device in the list $ImagingDevices.
- Cameras may require some time to adjust exposure after startup. During this time, images returned by CurrentImage may be either overexposed or underexposed.
Examples
open allclose allBasic Examples (2)Summary of the most common use cases
Scope (2)Survey of the scope of standard use cases
Options (3)Common values & functionality for each option
ImagePreviewFunction (1)
By default, the original captured image is displayed in the capture user interface:

https://wolfram.com/xid/0d6fasrsn2-4yfqeq

Apply a function to the images before displaying:

https://wolfram.com/xid/0d6fasrsn2-s8zf99

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

https://wolfram.com/xid/0d6fasrsn2-mi3f17

ImageSize (1)
Applications (3)Sample problems that can be solved with this function
Time-lapse recording of image frames:

https://wolfram.com/xid/0d6fasrsn2-irvqt0

Create an animation from a series of captured images:

https://wolfram.com/xid/0d6fasrsn2-dvcty

A simple dynamic motion detector:

https://wolfram.com/xid/0d6fasrsn2-bccwhc

Properties & Relations (1)Properties of the function, and connections to other functions
Open a device using DeviceOpen:

https://wolfram.com/xid/0d6fasrsn2-qxml8x


https://wolfram.com/xid/0d6fasrsn2-bis5vr

Use DeviceClose to close the imaging device:

https://wolfram.com/xid/0d6fasrsn2-rg3yr4
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
]}
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
]}