EUTAFT Manuals: Difference between revisions

From Control Systems Technology Group
Jump to navigation Jump to search
Line 1: Line 1:
==Building the Vision GUI==
==Building the Vision GUI==
In order to build the Vision GUI, you need to install qtcreator, the opencv libraries, and the Basler pylon software.
In order to build the Vision GUI, you need to install qtcreator, the opencv libraries, and the Basler pylon software.
#To install Qt Creator, run the following command through the terminal:
#To install Qt Creator, run the following command through the terminal:
<blockquote><code>sudo apt-get install qtcreator </code></blockquote>
<blockquote><code>sudo apt-get install qtcreator </code></blockquote>
#To install the OpenCV libraries, follow the steps under the "Install OpenCV from Source" paragraph in the following link: [https://linuxize.com/post/how-to-install-opencv-on-ubuntu-18-04/ How to install OpenCV on Ubuntu 18.04]. At the time of programming Vision GUI 2019, opencv3.4.8 was installed.
#To install the OpenCV libraries, follow the steps under the "Install OpenCV from Source" paragraph in the following link: [https://linuxize.com/post/how-to-install-opencv-on-ubuntu-18-04/ How to install OpenCV on Ubuntu 18.04]. At the time of programming Vision GUI 2019, opencv3.4.8 was installed.
#To install the Basler pylon software, download it from the [https://www.baslerweb.com/en/sales-support/downloads/software-downloads/ Basler Software Downloads site]. The pylon version currently used is [https://www.baslerweb.com/en/sales-support/downloads/software-downloads/pylon-5-2-0-linux-x86-32-bit/ Version5.2.0]. Follow the instructions in the ''INSTALL'' file that comes with the downloaded compressed <code>tar</code> file.
#To install the Basler pylon software, download it from the [https://www.baslerweb.com/en/sales-support/downloads/software-downloads/ Basler Software Downloads site]. The pylon version currently used is [https://www.baslerweb.com/en/sales-support/downloads/software-downloads/pylon-5-2-0-linux-x86-32-bit/ Version5.2.0]. Follow the instructions in the ''INSTALL'' file that comes with the downloaded compressed <code>tar</code> file.
#To build the GUI press <code>ctrl+B</code>. If it fails to build, make sure the opencv and pylon libraries (<code>LIBS += ...</code>) and their respective paths (<code>INCLUDEPATH += ...</code>) are specified in the ''Qtvision.pro'' file. If they are specified, install missing libraries using <code>apt-get.
#To build the GUI press <code>ctrl+B</code>. If it fails to build, make sure the opencv and pylon libraries (<code>LIBS += ...</code>) and their respective paths (<code>INCLUDEPATH += ...</code>) are specified in the ''Qtvision.pro'' file. If they are specified, install missing libraries using <code>apt-get.

Revision as of 13:13, 26 November 2019

Building the Vision GUI

In order to build the Vision GUI, you need to install qtcreator, the opencv libraries, and the Basler pylon software.

  1. To install Qt Creator, run the following command through the terminal:

sudo apt-get install qtcreator

  1. To install the OpenCV libraries, follow the steps under the "Install OpenCV from Source" paragraph in the following link: How to install OpenCV on Ubuntu 18.04. At the time of programming Vision GUI 2019, opencv3.4.8 was installed.
  2. To install the Basler pylon software, download it from the Basler Software Downloads site. The pylon version currently used is Version5.2.0. Follow the instructions in the INSTALL file that comes with the downloaded compressed tar file.
  3. To build the GUI press ctrl+B. If it fails to build, make sure the opencv and pylon libraries (LIBS += ...) and their respective paths (INCLUDEPATH += ...) are specified in the Qtvision.pro file. If they are specified, install missing libraries using apt-get.