HighGUI constructors

This section covers the API to the HighGUI constructors. For more examples and information, refer to the relevant guides in the User Guide.

Current constructors

BaseGUI(title)

The base constructor class for creating HighGUI interfaces.

FrameGUI(frame, *args, **kwargs)

Class for creating interfaces for individual image manipulation.

FramesGUI(frames[, indices])

Class for creating interfaces for manipulating a sequence of frames.

VideoGUI(video[, indices])

Class for creating interfaces for manipulating a sequence of frames.

StreamGUI(stream, *args, **kwargs)

Class for creating interfaces for manipulation of images from video feeds.

Creating interface components

BaseGUI.method(func)

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

BaseGUI.trackbar(name, id, min, max)

Add a trackbar to the interactive window.

Footage specific callbacks

FramesGUI.read(gui, val)

Callback for reading and displaying a frame from the provided frames.

VideoGUI.read(gui, val)

Callback for reading and displaying a frame from the requested video.

Executing an interface

BaseGUI.run()

Launch the interface.

VideoGUI.run()

Launch the interactive video interface.

StreamGUI.run()

Launch the interactive window.

Dictionary interface

BaseGUI.__getitem__(key)

Access a trackbar's current value.

BaseGUI.__setitem__(key, val)

Change a trackbar's current recorded value.

BaseGUI.values()

Retrieve all current trackbar values from the interface.

Ancillary methods

TrackbarMethod(id, min, max, method, current)

Container for a trackbar method and it's associated variables.