Image Acquisition
The VAPIXService provides two methods for capturing images from Axis cameras, with automatic fallback.
AWF Image Acquisition (Primary)β
GetAWFImageAsync() is the preferred capture method:
AWF Advantagesβ
- Returns image bytes and current PTZ position in a single request
- Higher quality image processing on the camera
- Consistent image format
Fallback Behaviorβ
If AWF capture fails (camera doesn't have AWF installed, network timeout, etc.), the client automatically falls back to the standard VAPIX image capture API:
- Standard API provides image bytes only
- PTZ position must be queried separately if needed
Panoramic Image Acquisitionβ
For panoramic captures, the VAPIXClient works with the orchestration to:
- Move the camera to the first pan position
- Capture an image
- Move to the next pan position
- Capture again
- Repeat for all positions (typically 6 for 360Β°)
The individual images are then stitched by the PanoImageStorageService.
Model Classesβ
The VAPIXService includes 56 model classes representing the various VAPIX API response structures:
- Device information models
- PTZ position models
- Application listing models
- Status response models
- Image metadata models