vuba.BaseGUI

class vuba.BaseGUI(title)[source]

The base constructor class for creating HighGUI interfaces.

Typical usage of this class is through the supplied wrappers around this class, although if those are ill-fit for a given application this constructor can be addressed directly.

To use this constructor with single or multiple frames that are in memory, use the FrameGUI or FramesGUI classes respectively, Conversely, to use this constructor with video files or streams, use the VideoGUI or StreamGUI classes respectively.

Parameters

title (str) – Title of the interface window.

Returns

gui – The newly created gui constructor.

Return type

BaseGUI

__init__(title)[source]

Methods

__init__(title)

method(func)

Add a main processing function to be executed on every trackbar call.

run()

Launch the interface.

trackbar(name, id, min, max)

Add a trackbar to the interactive window.

values()

Retrieve all current trackbar values from the interface.