anaksor-ocr
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
Writes a caption in Persian for a picture, using a vision model and a Persian language model in a Gradio page, with three example images included. For students and developers working with Persian text.
Persian Image Captioning is a kit in the Research category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.
pip install -U huggingface_hub hf download MahsaShahidi/Persian-Image-Captioning --repo-type space --local-dir Persian-Image-Captioning cd Persian-Image-Captioning
This Gradio app from MahsaShahidi writes Persian captions for pictures. It names three models: a ViT image model from Google, a Persian BERT model from HooshvareLab and the author's own Persian-Image-Captioning model. The repository includes three example images. You use it in a browser, or you run a copy on your own computer.
It suits students and developers who work with Persian text and want to see an image captioning model in action.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Education | Language and vision students | See how a model describes a picture in Persian | Open the Space and pick an example image |
| Research | Persian language researchers | Check caption quality on their own pictures | Upload a picture and read the caption |
| Software | Python developers | Read how three models are combined in one page | Download the Space and open app.py |
Skip it if you need captions in other languages, because the models it names are for Persian.
| Use case | Who | What they get back |
|---|---|---|
| Caption a picture | Students | A Persian sentence about the picture |
| Test the model | Researchers | A quick look at how it handles different images |
| Study the code | Developers | An app.py that loads the three named models |
You need a few things in place first.
pip install -U huggingface_hub hf download MahsaShahidi/Persian-Image-Captioning --repo-type space --local-dir Persian-Image-Captioning cd Persian-Image-Captioning pip install gradio pip install -r requirements.txt python app.py
Online, use the Gradio interface the Space page shows. On your own computer, run the main file from the project folder and open the page it serves in your browser.
python app.py
You run python app.py inside the project folder, open the page and give it a picture such as image-1.jpg from the repository. The page returns a Persian caption for it.
If this is new to you, start online. Go to the Space and try one of the example images before you install anything. Captioning means the model writes a short sentence about what is in a picture.
If you know the field, note that the names suggest a ViT image encoder paired with a Persian text model. The source gives no scores, training data or limits, so judge the captions on your own images.
The source gives no quality figures, and a caption can miss or misname things in a picture, so check it against the image.
Writes a caption in Persian for a picture, using a vision model and a Persian language model in a Gradio page, with three example images included. For students and developers working with Persian text.
Made by MahsaShahidi on Hugging Face. These notes are Mindket's, written from its Space page and README; the app's own files and license are on Hugging Face.
What it is: This Gradio app from MahsaShahidi writes Persian captions for pictures. It names three models: a ViT image model from Google, a Persian BERT model from HooshvareLab and the author's own Persian-Image-Captioning model. The repository includes three example images. You use it in a browser, or you run a copy on your own computer.
Who it suits: It suits students and developers who work with Persian text and want to see an image captioning model in action.
Industry | Who uses it | How they use it | Example
Education | Language and vision students | See how a model describes a picture in Persian | Open the Space and pick an example image
Research | Persian language researchers | Check caption quality on their own pictures | Upload a picture and read the caption
Software | Python developers | Read how three models are combined in one page | Download the Space and open app.py
Skip it if you need captions in other languages, because the models it names are for Persian.
Where to use it:
Use case | Who | What they get back
Caption a picture | Students | A Persian sentence about the picture
Test the model | Researchers | A quick look at how it handles different images
Study the code | Developers | An app.py that loads the three named models
How to set it up: You need a few things in place first.
pip install -U huggingface_hub
hf download MahsaShahidi/Persian-Image-Captioning --repo-type space --local-dir Persian-Image-Captioning
cd Persian-Image-Captioning
pip install gradio
pip install -r requirements.txt
python app.py
How to use it: Online, use the Gradio interface the Space page shows. On your own computer, run the main file from the project folder and open the page it serves in your browser.
python app.py
Example: You run python app.py inside the project folder, open the page and give it a picture such as image-1.jpg from the repository. The page returns a Persian caption for it.
For newcomers and experts: If this is new to you, start online. Go to the Space and try one of the example images before you install anything. Captioning means the model writes a short sentence about what is in a picture.
If you know the field, note that the names suggest a ViT image encoder paired with a Persian text model. The source gives no scores, training data or limits, so judge the captions on your own images.
Open the Space or run app.py
The Gradio page loads
You give it a picture
The models produce a caption
The Persian caption appears
Good to know: The source gives no quality figures, and a caption can miss or misname things in a picture, so check it against the image.
Open the Space in your browser, or copy it to your own Hugging Face account from its page. Nothing in this kit runs by itself.
README.md 4 KB
Listed Hugging Face Spaces in the same category that share the most tags with this one.
| Product | Likes | Built with | License | Last change |
|---|---|---|---|---|
| Persian Image Captioning This page | 0 | gradio | mit | |
| Open VLM LeaderboardShares gradio | 1,034 | gradio | apache-2.0 | |
| Face SwapShares gradio | 808 | gradio | cc-by-nc-sa-4.0 | |
| TTS Spaces ArenaShares gradio | 493 | gradio | zlib | |
| Depth Anything 3Shares gradio | 490 | gradio | cc-by-nc-4.0 | |
| BLIPShares gradio | 431 | gradio | bsd-3-clause |
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
Qwen · Kit
Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…
ACE-Step · Kit
Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…
AbdomenAtlas · Kit
Detects and outlines tumors in 9 organs on CT scans, trained with the R-Super method that learns from radiology reports. A research model for medical imaging g…
dBenf · Kit
Answers typed questions about satellite image patches from all 12 Sentinel-2 bands, returning a probability for each option without writing text. A Qwen3.5-0.8…
zimmerk4 · Kit
Plays the full game Getting Over It from the bottom to the end with a small trained policy network that learned inside a JAX physics simulator. For reinforceme…