Integrating a VPDL Runtime WorkspaceCognex VisionPro 9.25 SR1

Use a DLRuntime tool to integrate a saved VisionPro Deep Learning (VPDL) runtime workspace into your VisionPro application. Once integrated, your vision application has access to any of the following VisionPro Deep Learning tools configured in the runtime workspace:

  • Blue Locate tool

    Identify features in an image or generate information about position and orientation of features relative to some coordinate system.

  • Blue Read tool

    Perform Optical Character Recognition (OCR).

  • Green Classify tool

    Identify and classify an object, or the entire scene, in an image.

  • Red Analyze tool

    Perform anomaly detection or defect detection.

For example, the following shows a QuickBuild Job that acquires an image and uses the Red Analyze tool of an imported VPDL workspace to locate probable defects:

ImageProcessing_VPDL_Theory_SampleJob

Refer to your Cognex Deep Learning documentation for details on using VisionPro Deep Learning.

See the following sections for more information:

Installation Prerequisites

The PC running the vision application must support an NVIDIA GPU in order to support VisionPro Deep Learning software. Log into your MyCognex account to access the necessary installers in the specified order before you attempt to integrate a VPDL runtime workspace into your VisionPro application:

  1. Install VisionPro Deep Learning release 4.0.0.

    Navigate to Support->VisionPro Deep Learning->Software->VisionPro Deep Learning 4.0.0 for the installer.

  2. Install this VisionPro release.

    Navigate to Support->VisionPro Support->Software->VisionPro for the latest installer.

  3. Install the VisionPro GPU Supplemental release.

    Navigate to Support->VisionPro Support->Software->VisionPro GPU Supplemental for the latest installer.

In addition, Cognex makes the VisionPro Deep Learning 4.0.0 Sample Code Resources package available, with example Visual Studio projects, sample VPDL workspaces and suitable test images. You might choose to navigate to Support->VisionPro Deep Learning->Resources->VisionPro Deep Learning 4.0.0 Sample Code Resources for that installer.

Custom VisionPro Installation

Be aware the VisionPro installer does not install the DLRuntime tool by default. During the VisionPro install, you must enable the selection of the DLRuntime tool, as shown in the following figure:

ImageProcessing_VPDL_Theory_CustomInstall

If you did not install the DLRuntime tool during your VisionPro installation, you can right-click on the install from the Programs and Features option in the Windows Control Panel and select Change to open the VisionPro installer and add the tool at this time.