Skip to content

A script that in theory works to help you visualize your dataset, edit text.

License

Notifications You must be signed in to change notification settings

thiagojramos/Dataset-Tools

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dataset-Tools: Enhancing Dataset Visualization and Text Editing

Dataset-Tools is a versatile script designed to assist in visualizing datasets and editing associated text files. Developed using PyQt6, it provides an intuitive graphical interface for managing images and their corresponding annotations. Inspired by tools within the Civitai community, this project aims to empower users in enhancing their dataset management capabilities.

You're more than welcome to help develop this tool, I am not really a programmer, I am aware of this - I am doing tiny things with Chat GPT to further help my community!

How to Use Dataset-Tools

Launching the Application

Ensure Python is installed on your system. Clone or download the Dataset-Tools repository from GitHub. Setting Up Environment

Install necessary dependencies using pip:

Copy code pip install PyQt6 Pillow Running the Application

Navigate to the directory where main.py is located.

Run the application using Python: css Copy code python main.py

User Interface Overview

Main Window: The application window opens with options to view images, edit associated text, and select themes.

Image Display: Images are displayed in the top section of the window with options for scaling and centering. Text Editor: Below the image, there's a text box for editing and saving text associated with the selected image. Listboxes: Lists images and text files available in the current directory. Buttons: Includes "Save" to save edited text, "Close" to exit the application gracefully, and "Select Image" to pick an image for editing. Managing Images and Text

Selecting Images: Click on an image in the listbox or gallery to display it in the main window.

Editing Text: Edit the text in the text box. Use the "Save" button to save changes to the associated text file. Changing Themes

Theme Selection: Use the dropdown menu labeled "Theme Selection" to choose from available themes.

Applying Themes: Themes change the background, text colors, and button styles to suit different preferences. Customizing Themes (Advanced)

Editing Themes: Modify or add themes in the themes dictionary within the main.py file. Each theme consists of background color (bg), foreground color (fg), text background (text_bg), text foreground (text_fg), button background (button_bg), and button foreground (button_fg).

Overview of Themes

Dataset-Tools offers a range of themes to customize the interface according to user preferences:

Beetlejuice Inspired Light Theme Dark Theme Pastel V2 Night Sky Fire Red Sunset Orange Lavender Ocean Blue Mint Forest Green Some themes, like Pastel V1, are currently disabled due to issues with text colors, which are being addressed in ongoing development.

Key Features

Graphical User Interface (GUI): Designed initially with Tkinter and later migrated to PyQt6 for improved functionality and aesthetics. Image Gallery: Allows for browsing and selection of images within the dataset. Text Editing: Supports real-time editing and saving of associated text files. Theme Customization: Choose from various predefined themes to personalize the application's appearance.

Future Developments

Educational Resources: Planned video tutorials and comprehensive text guides to aid users in navigating Dataset-Tools effectively. Enhanced Theme Functionality: Ongoing improvements to themes, focusing on legibility and aesthetic appeal across different datasets. Deployment and Testing: Targeting broader compatibility across operating systems and screen resolutions to optimize user experience.

About the Creator

Dataset-Tools is developed by the Duskfall Portal Crew, a diverse system navigating life with DID, ADHD, Autism, and CPTSD. Our motivation stems from leveraging AI to promote inclusivity and mental health awareness. Join us in exploring identity and creative expression through technology.

Join Our Community

Website: Earth & Dusk Portal Discord: Join our Discord Backups: Hugging Face Support Us Send a Pizza: Buy us a pizza Subreddit: Reddit Community Thank you for supporting us on our journey and contributing to the Earth and Dusk community.

Credits

ChatGPT 3.5 & 4o: Powering innovative solutions and creative endeavors. Canvas icons created by Freepik - Flaticon: Enhancing visual appeal and functionality.

Sample Images

Here you can see the themes and gui overlook.

GUI Overview

Screenshot 2024-06-15 at 19 09 31

Sample Themes

Screenshot 2024-06-15 at 19 09 40 Screenshot 2024-06-15 at 19 09 48 Screenshot 2024-06-15 at 19 10 27 Screenshot 2024-06-15 at 19 10 36

Errors to Fix

Screenshot 2024-06-15 at 19 11 19 Screenshot 2024-06-15 at 19 11 31

Changelog

Started with Tkinter Gui, but moved to PYQT6.

Realized it needed more to it.

Added gallery, text editing, image preview.

Text box list.

Save, Close and Select Image.

Commented out themes that don't work.

Tried to add an icon.

Fixing aspect ratio is ... well i'm on a retina 5k screen, so go figure. - This is because if you select a TALLER image it'll break and you can't close it or edit the text, i'm working on it.

The OLDER file in this specific repo, as i'm finally merging to main will give you back some stuff btue the images are tiny.

Indentation issues are fixed.

What the OLD FILE Looks like - and that's ok!

Screenshot 2024-06-15 at 16 56 14

Coming Soon

Video tutorial via youtube.

Tutorial in text, images.

Fixing themes where the text is just attrocious. That's my fault, sorry.

When we're out of MAIN development mode, i want to try and get this as a homebrew cask, and figure out how to all that - we're just not ready yet.

Get people to test it on different OS boxes, so we can decide WHAT sizing is best.

About the Creator:

We are the Duskfall Portal Crew, a DID system with over 300 alters, navigating life with DID, ADHD, Autism, and CPTSD. We believe in AI’s potential to break down barriers and enhance mental health, despite its challenges. Join us on our creative journey exploring identity and expression.

Join Our Community:

Website:

End Media

Discord:

Join our Discord

Backups:

Hugging Face

Support Us:

Send a Pizza

Subreddit:

Reddit

Thank you for being part of our journey and supporting the Earth and Dusk community.

Credits

ChatGPT 3.5 & 4o

Support of my peers, and the community at Large..

Canvas icons created by Freepik - Flaticon

Where we started from over 24 hours ago:

Screenshot 2024-06-14 at 22 00 40 Screenshot 2024-06-14 at 22 09 01 Screenshot 2024-06-15 at 00 03 47 Screenshot 2024-06-15 at 00 03 55 Screenshot 2024-06-15 at 00 04 16 Screenshot 2024-06-15 at 14 06 00 Screenshot 2024-06-15 at 15 01 45

About

A script that in theory works to help you visualize your dataset, edit text.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%