opens a graphical user interface for capturing images from connected cameras.
ImageCapture
opens a graphical user interface for capturing images from connected cameras.
Details and Options
- The following options can be given:
-
CaptureRunning True whether the device is enabled on evaluation FrameRate Automatic number of frames per second ImageCaptureFunction Automatic function to use to process the captured image ImagePreviewFunction Identity function applied to the image when displayed ImageSize Automatic display size ImagingDevice $ImagingDevice imaging device to use RasterSize Automatic dimensions of the captured image
Examples
open all close allOptions (7)
CaptureRunning (1)
By default, ImageCapture starts capturing the frames:
ImageCapture[]Show the image capture GUI without starting the image acquisition:
ImageCapture[CaptureRunning -> False]FrameRate (1)
Set the frame rate for ImageCapture:
ImageCapture[FrameRate -> 12]ImageCaptureFunction (1)
By default the original captured image is stored in the buffer:
ImageCapture[]Apply a function to the images after capture before storing in the buffer:
ImageCapture[ImageCaptureFunction -> Binarize]Notice that the images captured into the buffer are processed:
CurrentImage[]ImagePreviewFunction (1)
By default, the original captured image is displayed in the capture user interface:
ImageCapture[]Apply a function to the images before displaying:
ImageCapture[ImagePreviewFunction -> EdgeDetect]Notice that the images captured into the buffer are unprocessed:
CurrentImage[]ImageSize (1)
Set the displayed size for ImageCapture:
ImageCapture[ImageSize -> 200]ImagingDevice (1)
Select the camera used by ImageCapture with the ImagingDevice option:
ImageCapture[ImagingDevice -> "IPEVO Point 2 View"]RasterSize (1)
Set the RasterSize for ImageCapture:
ImageCapture[RasterSize -> {640, 480}]Applications (1)
Build a user interface for capturing snapshots using ImageCapture:
snapshots = {};
Panel[
Column[{
ImageCapture[],
Pane[Row[{
Button["Grab Image", AppendTo[snapshots, CurrentImage[]]],
Button["Clear Images", snapshots = {}]
}]],
Panel[Dynamic@Row@snapshots, ImageSize -> Full]
}
], ImageSize -> 360]Related Guides
History
Introduced in 2010 (8.0) | Updated in 2014 (10.0) ▪ 2017 (11.2) ▪ 2018 (11.3)
Text
Wolfram Research (2010), ImageCapture, Wolfram Language function, https://reference.wolfram.com/language/ref/ImageCapture.html (updated 2018).
CMS
Wolfram Language. 2010. "ImageCapture." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2018. https://reference.wolfram.com/language/ref/ImageCapture.html.
APA
Wolfram Language. (2010). ImageCapture. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ImageCapture.html
BibTeX
@misc{reference.wolfram_2026_imagecapture, author="Wolfram Research", title="{ImageCapture}", year="2018", howpublished="\url{https://reference.wolfram.com/language/ref/ImageCapture.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_imagecapture, organization={Wolfram Research}, title={ImageCapture}, year={2018}, url={https://reference.wolfram.com/language/ref/ImageCapture.html}, note=[Accessed: 13-June-2026]}