Versions Compared

Key

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

Operator View is intended to allow you to design a simple UI for your line operators, where they can view the camera with an evaluation of the current image and optionally see other information or be able to enter/choose inputs, which can then be processed by https://pekatvision.atlassian.net/wiki/x/LIibKQ Code modules.

Editor

Editor is the place where you can design, how the Operator View should look - determine what elements it should contain and customize its position, style, and function.

Accessible from the https://pekatvision.atlassian.net/wiki/x/yYKbKQ/spaces/KB31/pages/891847490/Camera+Functions?atl_f=PAGETREE tab by selecting Operator View > Edit.

...

This is a parameter for optional elements, which allows you to determine that a certain element will be visible only if the specified key in https://pekatvision.atlassian.net/wiki/x/jYibKQ Context is True. You can then set this key in Code based on your own rules.

...

The camera element shows the current view from the camera - the same as you would see in the https://pekatvision.atlassian.net/wiki/spaces/KB31/pages/891847490/Camera+Functions?atl_f=PAGETREE tab. To see the evaluated view, Evaluation needs to be enabled in any module and the Process option enabled in the Camera tab.

...

Info

For images you saved (when you had ‘Save images’ enabled while the Operator View was running) you can see the operator inputs at that time in the https://pekatvision.atlassian.net/wiki/x/2YibKQ Inspection tab under 'operatorInput’ key, which is a dictionary containing key-value pairs for all your inputs/selects/sliders.

If you set some dynamic label, you can see the value of its context key (if you set its value in code) at that time under the context key name you selected, so e.g. 'label_key' in this example.

If you set visibility by key for some element and you set its value in code, you will see it here too under the name you selected for the key so e.g. ‘visibility_key’ in this example.

...