HASHTAGGER
To generate tags for images using TensorFlow and OpenCV.
Using hashtagger, all of this can be done in just a few lines of code.
Installation
You can install hashtagger using pip:
pip install hashtagger
Usage
Here’s an example of how to use hashtagger to generate tags for images:
from hashtagger import Hashtagger
# Create an instance of YourLibrary
your_library = Hashtagger()
# Specify the path to the image you want to process
image_path = "" # Replace with the path to your image
try:
# Use the recognize_objects method to recognize objects in the image
decoded_predictions = your_library.recognize_objects(image_path)
# Use the generate_tags method to generate tags for the recognized objects
tags = your_library.generate_tags(decoded_predictions)
print("Recognized objects and tags:")
for tag in tags:
print(tag)
except Exception as e:
print(f"An error occurred: {e}")
License
This project is licensed under the MIT License - see the LICENSE.txt file for details.
Changelog
0.1.1 (2023-10-09)
Added Initial release of the hashtagger library.
0.1.4 (2024-03-07)
Added more hashtags to hashtagger library.
0.1.5 (2024-07-05)
Added more hashtags to hashtagger library.
0.2.0 (2024-07-05)
Added more hashtags to hashtagger library.
0.2.1 (2024-07-05)
Removed all nltk and download errors
Metadata
Release files for hashtagger 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| hashtagger-0.2.1.tar.gz | 3.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hashtagger-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.5 kB
Release files / hashtagger-0.2.1.tar.gz
| Download URL | hashtagger-0.2.1.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b46889bfc79401cfd6d78f5b31cd098c400451830613274135220ec6943a1b46
|
|
BLAKE2b-256 checksum How to use checksums |
efc621a485977e48f2c873f9966fff1929963d995913941417713c78c6924c01
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.1
|
Release files / hashtagger-0.2.1-py3-none-any.whl
| Download URL | hashtagger-0.2.1-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f7bcd3684417c8215a2dbb618d87023628fb1801bc13d8f0c9e970ce22728a5c
|
|
BLAKE2b-256 checksum How to use checksums |
41cd9612a9b749fa79a9b116213accc99e98292791e2e0b173d040e3d3a9ec9a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.1
|