Giter Club home page Giter Club logo

captioner's Introduction

Captioner

A QT GUI to make captioning images easy

Installation

Install PyQT5

pip3 install pyqt5

Run the app

python3 run.py

Usage

  • Open and load a folder containing images

  • Caption images and Save (Ctrl + S)

Notes

Colors

  • Green - Indicates Captioned Images

  • Yello - Indicates Cached Captions that are not saved.

  • Red - Indicates Empty Caption file.

  • Colorless - Indicates uncaptioned Image.

Shortcuts

  • Ctrl + O - Open Folder

  • Ctrl + W - Close Folder

  • Ctrl + Q - Exit Application

  • Ctrl + Alt + Left Arrow Key - List Focused

  • Ctrl + Alt + Right Arrow Key - Caption Box Focused

  • Ctrl + S - Save Caption

Credits

  • CypherpunkSamurai

  • QT5

captioner's People

Contributors

cybersecbyte avatar cypherpunksamurai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

cybersecbyte

captioner's Issues

Caption textbox not matching saved caption

Expected behavior: Clicking the save button should save the typed in caption to the caption text file.

Actual behavior: It doesn't look like it does anything, not sure if there are errors logged but the Ctrl + S still works.

Steps to reproduce: See below.

230221-632-pythonw

Crash on caption save

Getting this error when clicking the save button (the .txt file is saved correctly):

PS C:\Stuff\AI\captioner> python .\run.py
C:/Users/Zyin/Desktop/temp
selected image: C:/Users/Zyin/Desktop/temp\2022-07-26_02-01-23_UTC.jpg
Traceback (most recent call last):
  File "C:\Stuff\AI\captioner\run.py", line 195, in btn_save_caption_clicked
    self.save_caption(caption_path, caption)
  File "C:\Stuff\AI\captioner\run.py", line 204, in save_caption
    print(f"[+] {caption_path}")
NameError: name 'caption_path' is not defined
PS C:\Stuff\AI\captioner>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.