Skip to main content

SAS Computer Vision Interface

Project description

CVPy - SAS Viya Computer Vision API for Python

Overview

This high-level Python library assists with the image and biomedimage action sets by providing helpful visualization APIs. These APIs allow users to easily be able to move images out of CAS and into common open source tools such as Mayavi and Matplotlib. This streamlines the visualization of image data fetched from a CAS table and allows for 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

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

Install traits, another critical dependency for Mayavi.

pip install traits‑5.1.2‑cp37‑cp37m‑win_amd64.whl

Note that a specific version of traits is 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 git+https://github.com/sassoftware/python-cvpy.git

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.0.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

sas_cvpy-1.0.0-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sas-cvpy-1.0.0.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.6.1 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.7

File hashes

Hashes for sas-cvpy-1.0.0.tar.gz
Algorithm Hash digest
SHA256 46aae96056666696e90864776cbf22ddb11a62aba4eb6082e54900abff99f710
MD5 bacc42c7bc6b1663b8e48301ad8e8502
BLAKE2b-256 418dbe7a9778be40645ddfdf0c9af94bebfac8915049a1c6005b4246033d78d9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sas_cvpy-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 11.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.6.1 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.7

File hashes

Hashes for sas_cvpy-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f485200aae58b510f366e622ef3e2f9a9d68df6f751dc92302a2c2f6b5dbb528
MD5 fddb19456e8a61eef31c085e3e5bc2ca
BLAKE2b-256 69e31eb73685cae181e0f4de0c289a12fbf5089685044a0acea46be00660da08

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