Google Pub/Sub Plugin

The flir-north-gcp-ps plugin uses the Google Cloud pub/sub service to send data from FLIR Bridge to the Google Cloud platform. The plugin is typically used to send image and other data to the Google Cloud to be used to train machine learning models for use within FLIR Bridge.

The plugin may be used within a north task or service. Both of these are created via the North menu item in the FLIR Bridge user interface.

  • Select North from the left hand menu bar.

  • Click on the + icon in the top left

  • Choose gcp_python from the plugin selection list

  • Name your task

  • Select if you wish to create a task or a service

  • Click on Next

  • Configure the plugin

gcp_1

  • Project ID: The name of the project within the Google Cloud

  • Publish Topic: The topic that will be used to publish data to the Google cloud.

  • Credentials: The name of a Google Cloud credentials file.

  • Source: The source of the data to be sent, this may be the readings or statistical data.

  • Output Format: The format in which to send data, options for the output format are image, bytes or JSON.

  • Compression Factor: A compression factor to use when sending data to Google Cloud.

  • Click Next

  • Enable your task or service and click Done

Known Issue:

There seems to be a known issue related to pyyaml module import, which causes the plugin discovery to fail for the very first time:

This issue is seen only on a fresh installation. A flir restart would alleviate this issue.

See Also

flir-north-azure_iot - A north plugin that sends data to Microsoft Azure IoT Hub device

flir-south-ABB - A south plugin to pull data from the ABB cloud