python-cvpy provides higher-level Python interfaces for SAS Viya image analytics workflows. It sits between Python client code and SAS CAS-backed image processing capabilities.
At a high level, the architecture is:
Python application code
│
├── cvpy
│ ├── table abstractions
│ ├── image conversion utilities
│ ├── visualization helpers
│ ├── annotation integration
│ └── CAS tuning helpers
│
├── SWAT client
│
└── SAS Viya / CAS
├── image action set
└── biomedimage action set
The package is designed to:
- reduce low-level handling of SAS-hosted image data in Python
- expose more convenient abstractions for image tables
- support conversion into numpy-friendly forms
- integrate visualization tools commonly used in Python workflows
- support annotation-related workflows where external tooling is required
cvpy.annotation— annotation models and CVAT-oriented integrationcvpy.base— shared base types and cross-cutting abstractionscvpy.image— natural image table supportcvpy.biomedimage— biomedical image table supportcvpy.utils— conversion and helper utilitiescvpy.visualization— display and rendering functions
In most workflows:
- a user authenticates to SAS Viya through SWAT
- CAS tables holding image data are loaded or referenced
cvpyAPIs are used to fetch, transform, or visualize data- optional downstream annotation or optimization utilities are applied
python-cvpy is not a replacement for SWAT or CAS action sets. Instead, it provides a Python-friendly layer over common image analytics workflows that would otherwise require more manual manipulation.