{"id":21392345,"url":"https://github.com/hiyali/pilgen","last_synced_at":"2025-07-13T18:31:19.128Z","repository":{"id":84520036,"uuid":"242135748","full_name":"hiyali/pilgen","owner":"hiyali","description":"The aim of this repository is to generate datasets (image \u0026 its label) for OCR training. ","archived":false,"fork":false,"pushed_at":"2020-11-22T10:27:39.000Z","size":518,"stargazers_count":7,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-03-01T04:38:04.123Z","etag":null,"topics":["dataset","generate","image-label","ocr","uighur","uyghur"],"latest_commit_sha":null,"homepage":"","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/hiyali.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,"roadmap":null,"authors":null,"dei":null}},"created_at":"2020-02-21T12:36:40.000Z","updated_at":"2023-10-13T07:02:28.000Z","dependencies_parsed_at":"2023-03-02T04:30:31.813Z","dependency_job_id":null,"html_url":"https://github.com/hiyali/pilgen","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiyali%2Fpilgen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiyali%2Fpilgen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiyali%2Fpilgen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiyali%2Fpilgen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hiyali","download_url":"https://codeload.github.com/hiyali/pilgen/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225908533,"owners_count":17543477,"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":["dataset","generate","image-label","ocr","uighur","uyghur"],"created_at":"2024-11-22T13:40:14.473Z","updated_at":"2024-11-22T13:40:15.114Z","avatar_url":"https://github.com/hiyali.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pilgen - (WIP: optimizing)\n\nPython Image-Label dataset Generator for OCR\n\n## Generate\n\n```bash\npython3 generate.py --lang ug --count 100 --out-dir data/\n```\n\nThis command will output `100` images into folder `data/images/`, filename pattern is `'word_{}.jpg'.format(line_num)`, exmaple:\n```\ndata/images/word_1.jpg\ndata/images/word_2.jpg\n...\ndata/images/word_100.jpg\n```\n\nand a `gt.txt` file, its content pattern is `'{}\\t{}'.format(filepath, word)`, like below:\n\n```\ndata/images/word_1.jpg\tئانا\ndata/images/word_2.jpg\tتىلىم\n...\ndata/images/word_100.jpg\tگۈللە\n\n```\n\n## Supported languages\n\n* [x] ug - Uyghur (Uighur)\n* [ ] other langs may will come\n\n## FAQ\n\n1. How use your own corpus?\n\nRef: [#2](https://github.com/hiyali/pilgen/issues/2)\n\n2. Uyghur words are separated in image?\n\nRef: [#2](https://github.com/hiyali/pilgen/issues/2)\n\n## Test\n\n```bash\npython3 test.py\n```\n\n## Develop environment\n\n* Ubuntu 18.04.1\n* Python 3.6.9\n\n## Author\n\nSalam Hiyali\n\n## Contribute\n\n\u003e Feel free\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiyali%2Fpilgen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhiyali%2Fpilgen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiyali%2Fpilgen/lists"}