AXIS_GrabImage
Captures a frame using AXIS.
Syntax
C++
Python
def AXIS_GrabImage( state: AXIS_State, inAddress: str, outImage: Image, /, *, inCameraID: int = 1, inOutputQueueSize: int = 5, inLogin: str | None = None, inPassword: str | None = None, inStreamProfile: str | None = None, inResolution: AXISResolution | None = None, inRotation: AXISRotation | None = None, inCompression: int | None = None, inTextString: str | None = None, inUseSquarePixel: bool | None = None ) -> outResult: bool
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
ioState | AXIS_State | |||
![]() |
inAddress | str | Source device host or ip address | ||
![]() |
inCameraID | int | 1 - 4 | 1 | ID of camera |
![]() |
inOutputQueueSize | int | 5 - 200 | 5 | Capacity of output frames queue |
![]() |
inLogin | str | None | None | Login for Basic authorization | |
![]() |
inPassword | str | None | None | Login for Basic authorization | |
![]() |
inStreamProfile | str | None | None | Profile configuration name. | |
![]() |
inResolution | AXISResolution | None | None | Resolution of the returned image | |
![]() |
inRotation | AXISRotation | None | None | Rotates the image clockwise | |
![]() |
inCompression | int | None | 0 - 100 | None | Compression level of the image |
![]() |
inTextString | str | None | None | ||
![]() |
inUseSquarePixel | bool | None | None | Square pixel (aspect ratio) correction | |
![]() |
outImage | Image | Output image |



