webcam
Connection to web camera on BeagleBone Black hardware
Add-On Required: This feature requires the MATLAB Support Package for BeagleBone Black Hardware add-on.
Description
This object represents a connection from the MATLAB® software to a web camera on the BeagleBone® Black hardware. To configure the web camera settings, use the object properties listed in Properties. To interact with the web camera, use this object with the functions listed in Object Functions.
Creation
Syntax
Description
creates a connection from the MATLAB software to the web camera, specified by name, that is attached
the BeagleBone Black hardware. Use this syntax when more than one camera is
connected to the hardware.wcam
= webcam(bbb
,cameraName
)
creates a connection from the MATLAB software to the web camera, specified by numerical index, that is
attached the BeagleBone Black hardware. Use this syntax when more than one camera is
connected to the hardware.wcam
= webcam(bbb
,cameraIndex
)
creates a connection from the MATLAB software to the specified web camera that is attached the
BeagleBone Black hardware. Use this syntax when more than one camera is
connected to the hardware. Specify the dimensions of the image to be captured by
the specified camera.wcam
= webcam(bbb
,cameraName
,resolution
)
Input Arguments
Properties
Object Functions
snapshot | Capture RGB image from web camera |
Examples
Version History
Introduced in R2015a