Main Content

preview

Preview live video data from Parrot drone FPV camera

Description

example

preview(cameraObj) creates a preview window that displays live video data from a Parrot® drone FPV camera object,represented as cameraObj. The preview window also displays the camera URL, resolution, frame rate, and timestamp.

Examples

collapse all

Connect to a Parrot Mambo FPV drone over a wireless network.

parrotObj = parrot('Mambo');

Connect to the FPV camera

cameraObj = camera(parrotObj,'FPV');

Start video streaming from the FPV camera

preview(cameraObj)

The preview window opens and displays live video stream from your camera. The banner of the preview window shows the camera URL. The lower portion of the window shows the timestamp in seconds, resolution, and frame rate in frames per second.

You can use the snapshot function to acquire images from the video stream.

Input Arguments

collapse all

Parrot drone camera connection object, specified as a camera object.

See Also

|

Introduced in R2019a