Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zuellni/qt-caption

Image captioning GUI using Florence-2.
https://github.com/zuellni/qt-caption

florence-2 image-captioning pyside6 qt6

Last synced: 4 days ago
JSON representation

Image captioning GUI using Florence-2.

Awesome Lists containing this project

README

        

# Qt Caption
A simple image captioning GUI using [Florence-2](https://huggingface.co/collections/microsoft/florence-6669f44df0d87d9c3bfb76de).

## Installation
Create a new environment with mamba:
```
mamba create -n qt-caption git python pytorch pytorch-cuda torchvision -c conda-forge -c nvidia -c pytorch
mamba activate qt-caption
```

Clone the repository and install requirements:
```
git clone https://github.com/zuellni/qt-caption
pip install -r qt-caption/requirements.txt
```

## Usage
Start the GUI with:
```
python qt-caption
```

Or with a script like this to hide the console:
```bat
@echo off
call mamba activate qt-caption
start pythonw qt-caption
```

## Preview
![Preview](assets/preview.png)