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
File details
Details for the file visiongraph_ui-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: visiongraph_ui-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1924797b302f2c69258532db7f9b744202fdea9589044bc1290b696997451674 |
|
MD5 | 2b0d0299c80e970da9568acb87b9aee8 |
|
BLAKE2b-256 | 8fd3a88a5d45f128bc7ce7622c7c4ddd51e8b60bc350faf705dd4bcc7e219572 |