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 details)

Uploaded Python 3

File details

Details for the file visiongraph_ui-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for visiongraph_ui-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1924797b302f2c69258532db7f9b744202fdea9589044bc1290b696997451674
MD5 2b0d0299c80e970da9568acb87b9aee8
BLAKE2b-256 8fd3a88a5d45f128bc7ce7622c7c4ddd51e8b60bc350faf705dd4bcc7e219572

See more details on using hashes here.

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