Skip to main content

User interface library for visiongraph projects.

Project description

Visiongraph UI

User interface library for visiongraph projects.

Example

To create a basic UI create a new class that inerhits from VisionGraphApp and pass the configuration and graph to the parent constructor.

class DemoApp(VisionGraphApp[DemoConfig, DemoGraph]):
    def __init__(self, config: DemoConfig, graph: vg.VisionGraph):
        super().__init__(config, graph)

To run the application, create an AppContext and create the window.

config = DemoConfig()
graph = DemoGraph().create_graph(vg.VideoCaptureInput())
graph.multi_threaded = True

with AppContext():
    window = DemoApp(config, graph)

About

This is a first draft of the library and the api will change in future release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

visiongraph_ui-0.1.0-py3-none-any.whl (8.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page