Skip to main content

SAS Computer Vision Interface

Project description

CVPy - SAS Viya Computer Vision API for Python

Overview

CVPy is a Python package that makes SAS image analytics more accessible to Python users in a variety of different ways. This high-level Python library provides helpful APIs that assist with the processing, analyzing, and visualization of images. This allows users of the image and biomedimage action set in SAS Viya to have more flexibilty when working in Python.

Currently available within CVPy are visualization APIs that allow users to easily be able to move images out of CAS and into common open source tools such as Mayavi and Matplotlib. These APIs streamline the visualization of image data fetched from a CAS table and can assist with further image analysis.

Prerequisites

  • Python version 3 or greater is required
  • Install SAS Scripting Wrapper for Analytics Transfer (SWAT) for Python using pip install swat or conda install -c sas-institute swat
  • Access to a SAS Viya 3.5 environment with Visual Data Mining and Machine Learning (VDMML) is required
  • A user login to your SAS Viya back-end is required. See your system administrator for details if you do not have a SAS Viya account.
  • Install Mayavi for scientific data visualization in Python

Mayavi Installation

Mayavi is a heavy, complex package that is required by CVPy. If you do not already have Mayavi installed, follow the steps below to install it.

Install VTK, a critical dependency for Mayavi.

pip install VTK‑8.1.2‑cp37‑cp37m‑win_amd64.whl

or

pip install VTK==8.1.2

Note that a specific version of is VTK used. You can download the wheel file from here.

Install Mayavi

pip install mayavi

You may see an error message about numpy, like “Numpy is required to build Mayavi correctly, please install it first.” Ignore that message.

Install PyQt, a GUI toolkit needed to run Mayavi

pip install PyQt5

CVPy Installation

To install CVPy, use the following command:

pip install sas-cvpy

Contributing

We welcome your contributions! Please read CONTRIBUTING.md for details on how to submit contributions to this project.

License

This project is licensed under the Apache 2.0 License.

Additional Resources

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sas-cvpy-1.0.2.tar.gz (20.7 kB view details)

Uploaded Source

Built Distribution

sas_cvpy-1.0.2-py3-none-any.whl (27.3 kB view details)

Uploaded Python 3

File details

Details for the file sas-cvpy-1.0.2.tar.gz.

File metadata

  • Download URL: sas-cvpy-1.0.2.tar.gz
  • Upload date:
  • Size: 20.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for sas-cvpy-1.0.2.tar.gz
Algorithm Hash digest
SHA256 d84fa0118a94626e1df0e99cc71e31db84a76b64342eec06acc5b3cc0d6a3824
MD5 450a52bf0072944bf981891cb5fffd86
BLAKE2b-256 a4e8779dde76028d286babf658d4c704266e58dbe040bb89676337178542d192

See more details on using hashes here.

File details

Details for the file sas_cvpy-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: sas_cvpy-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 27.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for sas_cvpy-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1b00e495e3c10e955614f674545a20475cc23f27744b0d0a1d6c844d43597648
MD5 efdaf824c62a4c82c0c6b0dec7f3b1a2
BLAKE2b-256 f21258b22bb27905639cbe39a86f88c47fcde028292cd344a3777de8d012db1a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page