Function Resource

StartCamera

Start a specified camera on your computer

ResourceFunction["StartCamera"][camera]

starts camera on your computer.

Details and Options

The camera must be a one of the cameras listed in $ImagingDevices.
Functions like CurrentImage automatically start a camera, but the initialization can take some time. Using ResourceFunction["StartCamera"] allows you to control when a camera is started.

Examples

Basic Examples

List all cameras for a computer:

In[1]:=
$ImagingDevices
Out[1]=

Start the front camera on a Microsoft Surface computer:

In[2]:=
ResourceFunction[ "https://www.wolframcloud.com/obj/arnoudb/DeployedResources/Function/\
StartCamera"]["Surface Camera Front"]

Stop the camera: