Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Context is an application variable that passes through each active module during image processing.

In In the Code module, it is possible to develop custom solutions for your project using Python and context data.

The user can add or modify custom attributes.

Info

Do not to change their structure when modifying.

...

A series of context data examples displayed in PEKAT VISION projects (JSON Format), is available at in our Inspection module article, as shown on in the example below:

...

Context Data Glossary

image [Numpy Array]

Image in numpy NumPy array.

detectedRectangles [Array]

...

Info

The last detected objects have the attribute ‘detectedAsLast=True’.

result [Boolean]

Evaluation of the image - ‘True’ if the image is ok, ‘False’ for the defective image.

exit [Boolean]

Early termination, for details, read the article Code.

It is not returned in response to an HTTP request, nor does it appear in the inspection.

...