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!
Ensure Python is installed on your system. Clone or download the Dataset-Tools repository from GitHub. Setting Up Environment
Copy code pip install PyQt6 Pillow Running the Application
Run the application using Python: css Copy code python main.py
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
Editing Text: Edit the text in the text box. Use the "Save" button to save changes to the associated text file. Changing 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).
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.
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.
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.
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.
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.
ChatGPT 3.5 & 4o: Powering innovative solutions and creative endeavors. Canvas icons created by Freepik - Flaticon: Enhancing visual appeal and functionality.
Here you can see the themes and gui overlook.
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.
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.
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.
Thank you for being part of our journey and supporting the Earth and Dusk community.
ChatGPT 3.5 & 4o
Support of my peers, and the community at Large..
Canvas icons created by Freepik - Flaticon