Standard Python Plug-In Sample Code
Pleora’s AI Gateway provides a user-friendly approach and a powerful NVIDIA GPU to enable the deployment of open source or custom algorithms developed in popular frameworks like TensorFlow and OpenCV. The AI Gateway includes a growing list of sample source codes for inspection applications.
This plug-in skill compares two images – a reference “golden image” and a current image to be inspected – to highlight defects to the end-user and automate routine visual inspection tasks.
QR Code Detector
Based on OpenCV QR code detection, the plug-in skill reads the value of a QR code while demonstrating how to integrate OpenCV features into the AI Gateway.
Object Counter with OPC-UA
The plug-in skills detects circles in an image and displays a live count to users for automating routine counting tasks. The plug-in includes an OPC-UA server to demonstrate how the AI Gateway can be deployed in Industry 4.0 applications.
Basic Per-Pixel Inversion
This plug-in shows basic Python pixel operations by inverting pixels of an image. The sample code provides a starting point for other image enhancement operations, including contrast enhancement or edge detection, while allowing users to gain an understanding of Python plug-in framework.