{"id":22852430,"url":"https://github.com/abdur75648/urdu-text-detection","last_synced_at":"2025-04-30T09:20:42.530Z","repository":{"id":188886623,"uuid":"589131296","full_name":"abdur75648/urdu-text-detection","owner":"abdur75648","description":"Text line detection for Urdu OCR (UTRNet)","archived":false,"fork":false,"pushed_at":"2024-10-08T05:21:03.000Z","size":50884,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-30T14:41:55.334Z","etag":null,"topics":["contournet","document-processing","ocr","text-detection","urdu-ocr","urdu-text-detection","utrnet"],"latest_commit_sha":null,"homepage":"https://abdur75648.github.io/UTRNet/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/abdur75648.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-01-15T06:43:27.000Z","updated_at":"2025-02-14T11:19:22.000Z","dependencies_parsed_at":"2023-08-17T10:45:17.849Z","dependency_job_id":null,"html_url":"https://github.com/abdur75648/urdu-text-detection","commit_stats":null,"previous_names":["abdur75648/urdu-detection"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdur75648%2Furdu-text-detection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdur75648%2Furdu-text-detection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdur75648%2Furdu-text-detection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdur75648%2Furdu-text-detection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abdur75648","download_url":"https://codeload.github.com/abdur75648/urdu-text-detection/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251674962,"owners_count":21625712,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["contournet","document-processing","ocr","text-detection","urdu-ocr","urdu-text-detection","utrnet"],"created_at":"2024-12-13T06:08:17.222Z","updated_at":"2025-04-30T09:20:42.501Z","avatar_url":"https://github.com/abdur75648.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Urdu OCR - Text Line Detection Inference\n\n**Released as a supplement of [UTRNet: High-Resolution Urdu Text Recognition](https://github.com/abdur75648/UTRNet-High-Resolution-Urdu-Text-Recognition)**\n\n[![UTRNet](https://img.shields.io/badge/UTRNet:%20High--Resolution%20Urdu%20Text%20Recognition-blueviolet?logo=github\u0026style=flat-square)](https://github.com/abdur75648/UTRNet-High-Resolution-Urdu-Text-Recognition)\n[![Website](https://img.shields.io/badge/Website-Visit%20Here-darkgreen?style=flat-square)](https://abdur75648.github.io/UTRNet/)\n[![arXiv](https://img.shields.io/badge/arXiv-2306.15782-darkred.svg)](https://arxiv.org/abs/2306.15782)\n[![SpringerLink](https://img.shields.io/badge/Springer-Page-darkblue.svg)](https://link.springer.com/chapter/10.1007/978-3-031-41734-4_19)\n[![SpringerLink](https://img.shields.io/badge/Springer-PDF-blue.svg)](https://rdcu.be/dkbIF)\n[![Demo](https://img.shields.io/badge/Demo-Online-brightgreen.svg)](https://abdur75648-urduocr-utrnet.hf.space)\n\n## Steps to run the code\n***Note** - Due to several dependency issues in [maskrcnn-benchmark](https://github.com/facebookresearch/maskrcnn-benchmark), YoloV8 is used for text line detection. The model is finetuned on the [UrduDoc](https://paperswithcode.com/dataset/urdudoc) dataset.\n\n* Clone the repository\n* Install the dependencies\n    ```bash\n    pip install torch==2.0.1 ultralytics==8.1.8\n    ```\n* Download [yolov8m_UrduDoc.pt](https://github.com/abdur75648/urdu-text-detection/releases/download/v1.0.0/yolov8m_UrduDoc.pt)\n* Put `test.jpg`\n* Run `python3 detect.py`\n* The output will be saved as `output.jpg`\n\n## Note\nThe code \u0026 trained model is for research purposes only and must not be used for any other purpose without the author's explicit permission.\n\n## Citation\nIf you use the code/model/dataset, please cite the following paper:\n\n```BibTeX\n@article{rahman2023utrnet,\n      title={UTRNet: High-Resolution Urdu Text Recognition In Printed Documents}, \n      author={Abdur Rahman and Arjun Ghosh and Chetan Arora},\n      journal={arXiv preprint arXiv:2306.15782},\n      year={2023},\n      eprint={2306.15782},\n      archivePrefix={arXiv},\n      primaryClass={cs.CV},\n      doi = {https://doi.org/10.48550/arXiv.2306.15782},\n      url = {https://arxiv.org/abs/2306.15782}\n}\n```\n\n### License\n[![Creative Commons License](https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png)](http://creativecommons.org/licenses/by-nc-sa/4.0/). This work is licensed under a [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License](http://creativecommons.org/licenses/by-nc-sa/4.0/) for Noncommercial (academic \u0026 research) purposes only and must not be used for any other purpose without the author's explicit permission.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdur75648%2Furdu-text-detection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabdur75648%2Furdu-text-detection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdur75648%2Furdu-text-detection/lists"}