Giter Club home page Giter Club logo

rtag's Introduction

rtag - AI-Powered Command-Line Photo Tagging Tool

NOTICE: rtag is under active development. Expect bugs and changes.

rtag is a command-line photo tagging tool based on rclip and powered by the awesome OpenAI's CLIP neural network.

Usage

When run without arguments, rtag tags all of the images in the current directory, including subdirectories, with the most relevant tags out of the imagenet-1k tag list. rtag writes the tags to the images' metadata, in a format supported by most photo management software. rtag supports JPG images only.

cd photos && rtag

How do I use my own tag list?

You can use your own tag list by providing a path to a file with tags as an argument to rtag.

cd photos && rtag --tags-filepath /path/to/your/tag/list.txt

The tag list file should contain one tag per line.

You can also adjust a --threshold used to filter out tags with a lower confidence score. Run rtag in the --dry-run mode to see the confidence scores for each tag that passes the threshold.

Help

rtag --help

Contributing

This repository follows the Conventional Commits standard.

Running locally from the source code

To run rtag locally from the source code, you must have Python and Poetry installed.

Then do:

# clone the source code repository
git clone [email protected]:yurijmikhalevich/rtag.git

# install dependencies and rtag
cd rtag
poetry install

# activate the new poetry environment
poetry shell

If the poetry environment is active, you can use rtag locally, as described in the Usage section above.

rtag's People

Contributors

yurijmikhalevich avatar

Stargazers

 avatar Irina avatar Teemu Grönqvist avatar  avatar

Watchers

 avatar Kostas Georgiou avatar  avatar

rtag's Issues

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.