dorkhub

img-txt_viewer

Windows tool for side-by-side image & text viewing, manual caption/tag editing, and batch dataset operations. Perfect…

Nenotriple
Python623 forksupdated 9 months ago
git clone https://github.com/Nenotriple/img-txt_viewer.gitNenotriple/img-txt_viewer

icon img-txt_viewer

img-txt_viewer is a Windows application for side-by-side image and text viewing, designed to streamline manual captioning or tagging of images. The toolset specifically targets LoRA dataset preparation.

Cover Image

Show App Previews...

Tag Editor Crop Tool Batch Upscale Batch Resize Batch Rename Find Duplicates Image Grid

GitHub last commit GitHub contributors GitHub repo size GitHub all release downloads GitHub release (latest by date)



📝 Usage

  • Do this: Ensure image-text pairs share the same basename.

    • Example: 01.png, 01.txt, 02.jpg, 02.txt, etc.
  • Don't do this: Avoid different filetypes with the same basename.

    • Example: 01.png, 01.txt, 01.jpg, 01.txt (causes text file collision).

Supported formats: .png, .jpg, .jpeg, .jfif, .jpg_large, .webp, .bmp, .gif, .mp4

Select Alt Text Path

Images and text files can be loaded from different folders.

Click to expand...

By default, text files are loaded from the selected directory. To load text files from a different path:

  1. Select a directory as usual.
  2. Right-click the Browse... button and choose Set Text File Path.
  3. When an alternate path is chosen, a blue indicator appears to the left of the directory entry. Hover over the indicator to view the selected text path.

Example folder structures:

Images and text files in same folder

.
└── dataset/
    ├── 01.png
    ├── 01.txt
    ├── 02.jpg
    └── 02.txt

Images and text files in separate folders

.
└── dataset/
    ├── images/
    │   ├── 01.png
    │   └── 02.jpg
    └── captions/
        ├── 01.txt
        └── 02.txt

💡 Features

For details, see the User Guide ✨ or use the links below.

Tagger Shortcuts

Tagger Toolbar

Main Toolbar

Menubar

Tagger View Menu


🛠 Install

Portable Setup

Static Badge

  1. Download the Windows executable from the releases page.
  2. Run the executable to launch the app.

Python Package Setup

Static Badge Static Badge

  1. Download the source code package from the latest releases page.
  2. Run the Start.bat file to automatically create and activate a virtual environment, then launch the app.
  3. Use Start.bat to launch the app in the future.
Manual Python Setup...

Static Badge Static Badge

  1. Clone the repository:

    git clone https://github.com/Nenotriple/img-txt_viewer.git
  2. Navigate into the project directory:

    cd img-txt_viewer/img-txt_viewer
  3. Create and activate a virtual environment:

    python -m venv venv
    venv\Scripts\activate
  4. Install the required dependencies:

    pip install -r requirements.txt
  5. Launch the app:

    python app.py

🔒 Privacy Policy

img-txt Viewer is completely private.

  • The app operates entirely on your device; your data remains under your control.
  • No data is collected, transmitted, or stored except for a basic local config file for app settings.
  • The app functions 100% offline and never connects to external servers. No data is ever shared or sent elsewhere.

more like this

scriptio

Modern, elegant and cross-platform screenwriting software

TypeScript51

search

search projects, people, and tags