Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Dahua » Dahua_GrabImage

Dahua_GrabImage


Captures a frame using Dahua.

Name Type Range Description
inDeviceID String* Device identifying number
inInputQueueSize Integer 0 - 200 Capacity of output frames queue
inFrameRate Real* Requested camera frame rate in frames per second
inExposureTime Real* Camera frame exposition time
inGain Real* Analog gain of source image in device raw unit
inBlackLevel Integer* Black level of source image
inTriggerEnabled Bool* Configure trigger enable
inTriggerSource DahuaTriggerSource* Source of acquisition trigger
inTriggerActivation DahuaTriggerActivation* Circumstances defining when the trigger is activated
outImage Image Captured frame
outFrameID Long Captured frame ID
outTimestamp Long Captured frame timestamp

Remarks

Camera driver software

This filter is intended to cooperate with a camera using its vendor SDK. To be able to connect to a camera, it is required to install MVViewer software with camera dedicated drivers.

MVViewer can be downloaded from the following website: https://www.dahuasecurity.com/ (registration may be required).

Add DLL path to system environment variable may be required.

Recommended MVViewer version for Adaptive Vision Studio usage is 2.1.6.

Camera identification

When there is only one camera connected to a computer, field inDeviceID can be set to Auto. In this case, first available camera will be found and connected.

inDeviceID field can be used to pick one of multiple cameras connected to computer. DeviceID can be set to:

  • Serial number - should be specified on device casing in format "vendor:serial number".
Camera parameters

Setting inInputQueueSize parameter to 'Auto' will select four value as input queue size.

All the other parameters exposed by camera filters are optional, setting them to 'Auto' leaves related parameter unchanged in camera (device default or user set configuration).

To change other, more advanced camera parameters, use specific filters.

Multithreaded environment

This function is not guaranteed to be thread-safe. When used in multithreaded environment, it has to be manually synchronized.

Complexity Level

This filter is available on Basic Complexity Level.

Filter Group

This filter is member of Dahua_GrabImage filter group.

See Also