Mech-Eye API Dependencies (Third Party Libraries) and Versions

This article introduces the third-party libraries and versions needed for tasks like compiling routines and image/point cloud operations.

C++(Windows)

Prerequisite Installations

Optional Software (Programs for image and point cloud processing in the samples depend on OpenCV and PCL)

  • OpenCV 3.4.5 or above: Download OpenCV
  • PCL 1.8.1 or above: Download PCL
    Refer to the table below to determine the required PCL version based on your installed Visual Studio version.
Visual Studio Version Supported PCL Version
2017 1.8.1 to 1.9.1
2019 1.8.1 to 1.12.1
2022 1.8.1 and above

C++ (Ubuntu)

Prerequisite Installations

  • To use the Mech-Eye API, install the Mech-Eye SDK.
  • The Ubuntu system version should be 18 or above.
  • Update the software source list:
    sudo apt-get update
  • Install the required libraries:
    sudo apt-get install -y build-essential pkg-config cmake

Optional Software (The samples rely on OpenCV and PCL for image and point cloud processing)

  • OpenCV: Latest version
  • PCL: Latest version

C# (Windows)

Prerequisite Installations

  • To use the Mech-Eye API, install the Mech-Eye SDK.
  • It is recommended to use Visual Studio 2019 or later: Download Visual Studio
    • Install Visual Studio components:
      • Workloads
        • (.NET Desktop Development)
        • (Desktop development with C++)
        • (Universal Windows Platform development)
      • Individual components
        • (.NET Framework 4.8 Targeting Pack)

Optional Software (The examples rely on Emgu.CV for image and point cloud processing)

Install Emgu.CV.runtime.windows in Visual Studio’s NuGet Package Manager.
Installation guide: Install and manage packages in Visual Studio using the NuGet Package Manager | Microsoft Learn

Python (Windows)

Prerequisite Installations

Python (Ubuntu)

Prerequisite Installations

  • To use the Mech-Eye API, install the Mech-Eye SDK.
  • Python version should be between 3.6.5 and 3.10.
  • pip version should be 20.3 or above. Upgrade pip with the following command: python3 -m pip install --upgrade pip.
  • Install MechEyeApi: sudo pip3 install MechEyeApi (Ensure Mech-Eye API version matches the Python example version, see Dependency error from Mech-Eye SDK's Python sample.

Optional Software (The samples rely on OpenCV and Open3D for image and point cloud processing)

  • Install OpenCV:

    sudo apt-get install libopencv-dev
    sudo apt-get install python3-opencv
    
  • Install Open3D:

    sudo pip install open3d
    

ROS (Ubuntu)

Prerequisite Installations

  • ROS1: Supports Ubuntu 18.04 (ROS Melodic) and Ubuntu 20.04 (ROS Noetic).
  • ROS2: Supports Ubuntu 20.04 (ROS Galactic).

Halcon

Prerequisite Installations