Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Camera Support » AXIS » AXIS_GrabImage

AXIS_GrabImage


Module: ThirdParty

Captures a frame using AXIS.

Name Type Range Description
inAddress String Source device host or ip address
inCameraID Integer 1 - 4 ID of camera
inLogin String* Login for Basic authorization
inPassword String* Login for Basic authorization
inResolution AXISResolution* Resolution of the returned image
inRotation AXISRotation* Rotates the image clockwise
inCompression Integer* 0 - 100 Compression level of the image
inTextString String*
outImage Image Output image

Remarks

Camera identification

Camera is identified by two inputs:

  • inAddress - server name or IP address of camera. It is not a http address using to view image by website. For example:
    http://my.camera.com/folder/view/viewer_index.shtml?id=217
    
    inAddress is
    http://my.camera.com/folder/
    
  • inCameraID - camera source. Applies only to video servers with more than one video input.
Changing parameters

AXIS Camera support is based on MJPEG streaming, and after changing any parameter the connection must be reset.

The simplest way to reset connection is to stop and restart the program.

Adaptive Vision Studio support only basic authentication, please check your device setting.

HTTPS is not supported.

Configuring the settings in the manufacturer's application may take priority.

New camera models will use global rotation setting, inRotation input will not affected.

Multithreaded environment

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

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError Empty inAddress in AXIS_GrabImage.

Complexity Level

This filter is available on Basic Complexity Level.