returns the current image captured from a connected camera.
CurrentImage[n]
returns n sequential image frames as a list.


CurrentImage
returns the current image captured from a connected camera.
CurrentImage[n]
returns n sequential image frames as a list.
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 all close allBasic Examples (2)
Options (3)
ImagePreviewFunction (1)
Applications (3)
Properties & Relations (1)
Open a device using DeviceOpen:
Use DeviceClose to close the imaging device:
See Also
ImageCapture VideoCapture VideoRecord Image $ImagingDevices $ImagingDevice $DefaultImagingDevice FindDevices AudioCapture CurrentScreenImage
Function Repository: StartCamera StopCamera
Related Links
History
Introduced in 2010 (8.0) | Updated in 2014 (10.0) ▪ 2017 (11.2) ▪ 2018 (11.3)
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_2025_currentimage, author="Wolfram Research", title="{CurrentImage}", year="2018", howpublished="\url{https://reference.wolfram.com/language/ref/CurrentImage.html}", note=[Accessed: 04-August-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: 04-August-2025]}