Skip to main content

QtFusion is a Python library created by Seasal Wesley (seasalwesley@gmail.com) for the convenient creation of PySide6 applications that interact with deep learning models. It provides user interface management and beautification, database management, image/video/camera processing, model interface definition, and event handling. This makes it easy for users to create deep learning applications.

Project description

QtFusion

Introduction

QtFusion is a versatile Python library for building applications. It focuses on seamlessly integrating deep learning models, offering a suite of tools for UI management, beautification, database management, as well as handling image/video/camera processing, model interface definition, and event handling. This library simplifies the creation of advanced deep learning applications.

Features

  • UI Enhancement: Provides tools for beautifying and managing the user interface.
  • Database Management: Facilitates easy handling of database operations.
  • Media Processing: Supports image, video, and camera data processing.
  • Model Integration: Simplifies the integration of deep learning models with UI.
  • Event Handling: Efficient management of application events.

Installation

To successfully install QtFusion, follow these guidelines:

  1. Python Version: Ensure you have Python 3.8 or newer installed, as QtFusion is designed to work best with these versions.
  2. Install Dependencies: QtFusion relies on several key libraries. Install them using pip:
pip install numpy
pip install opencv-python>=4.5.5.64
pip install Pillow>=9.0.1
pip install PySide6>=6.4.2
pip install PyYAML>=6.0
pip install IMcore>=0.2.7

These commands will install the required versions of numpy, opencv-python, Pillow, PySide6, PyYAML, and captcha.

  1. Deep Learning Libraries: For deep learning projects, it's recommended to use either PyTorch or TensorFlow. Future versions of QtFusion will support PyQt5, PyQt6, and PySide6.
  2. Install QtFusion: Finally, install QtFusion:
pip install QtFusion

Usage

To use QtFusion in your PySide6 project:

  • Import FBaseWindow from QtFusion.BaseFrame.
  • Define your main window class, inheriting from FBaseWindow.
  • Initialize a QApplication, create an instance of your main window, and call necessary methods.
  • Start the application with app.exec().

This will allow you to incorporate QtFusion's features into your PySide6 application, enhancing its interface and functionality.

from Your_UI import Ui_MainWindow
from QtFusion import QMainWindow
from PySide6.QtWidgets import QApplication
from sys import argv, exit
class YourMainWindow(QMainWindow, Ui_MainWindow):
    def __init__(self, parent=None, *args, **kwargs):
        super(YourMainWindow, self).__init__(*args, **kwargs)
        self.setupUi(self)

app = QApplication(argv)
win = YourMainWindow()
win.showTime()
exit(app.exec()) 

This is a basic example to get started. For more advanced features, refer to the QtFusion documentation and examples.

Acknowledgments

Special thanks to all contributors who have helped in developing QtFusion.

Contact

For support or queries, please contact seasalwesley@gmail.com.

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

QtFusion-0.5.4-py3-none-any.whl (7.1 MB 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