A hashtag generator using TensorFlow and NLTK
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hashtagger-0.2.1.tar.gz.
File metadata
- Download URL: hashtagger-0.2.1.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b46889bfc79401cfd6d78f5b31cd098c400451830613274135220ec6943a1b46
|
|
| MD5 |
c75e490ddeb9308afb084ad7bb7e07a9
|
|
| BLAKE2b-256 |
efc621a485977e48f2c873f9966fff1929963d995913941417713c78c6924c01
|
File details
Details for the file hashtagger-0.2.1-py3-none-any.whl.
File metadata
- Download URL: hashtagger-0.2.1-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f7bcd3684417c8215a2dbb618d87023628fb1801bc13d8f0c9e970ce22728a5c
|
|
| MD5 |
9266f5e7b1396c38e4a802a4ad2eac0a
|
|
| BLAKE2b-256 |
41cd9612a9b749fa79a9b116213accc99e98292791e2e0b173d040e3d3a9ec9a
|