{"id":27696824,"url":"https://github.com/khaouitiabdelhakim/arabicocr-python-tutorial","last_synced_at":"2026-01-26T09:32:41.397Z","repository":{"id":259313361,"uuid":"823204789","full_name":"khaouitiabdelhakim/ArabicOCR-Python-Tutorial","owner":"khaouitiabdelhakim","description":"This project uses the ArabicOcr package to convert Arabic text in images to editable text using OCR techniques.","archived":false,"fork":false,"pushed_at":"2024-10-23T21:21:47.000Z","size":626,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-25T15:13:52.359Z","etag":null,"topics":["ocr","ocr-python","ocr-recognition","ocr-text-reader","pip","python","script"],"latest_commit_sha":null,"homepage":"https://khaouitiapps.vercel.app","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/khaouitiabdelhakim.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,"publiccode":null,"codemeta":null}},"created_at":"2024-07-02T15:23:55.000Z","updated_at":"2024-12-03T08:54:16.000Z","dependencies_parsed_at":"2024-10-24T09:51:26.749Z","dependency_job_id":"b4114cac-6e0b-4302-82e9-d4b6f08b4e64","html_url":"https://github.com/khaouitiabdelhakim/ArabicOCR-Python-Tutorial","commit_stats":null,"previous_names":["khaouitiabdelhakim/arabicocr-python-tutorial"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/khaouitiabdelhakim/ArabicOCR-Python-Tutorial","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khaouitiabdelhakim%2FArabicOCR-Python-Tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khaouitiabdelhakim%2FArabicOCR-Python-Tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khaouitiabdelhakim%2FArabicOCR-Python-Tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khaouitiabdelhakim%2FArabicOCR-Python-Tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/khaouitiabdelhakim","download_url":"https://codeload.github.com/khaouitiabdelhakim/ArabicOCR-Python-Tutorial/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khaouitiabdelhakim%2FArabicOCR-Python-Tutorial/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28772912,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T08:38:24.014Z","status":"ssl_error","status_checked_at":"2026-01-26T08:38:22.080Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["ocr","ocr-python","ocr-recognition","ocr-text-reader","pip","python","script"],"created_at":"2025-04-25T15:13:26.968Z","updated_at":"2026-01-26T09:32:41.381Z","avatar_url":"https://github.com/khaouitiabdelhakim.png","language":"Python","readme":"# Arabic OCR\n\nThis project uses the `ArabicOcr` package to convert Arabic text in images to editable text using OCR techniques.\n\n\u003e [!NOTE]\n\u003e The script may take a long time to run the first time as it installs the prediction model.\n\n## Installation\n\nInstall the required package using pip:\n\n```bash\npip install ArabicOcr\n```\n\n## Usage\n\n```python\nfrom ArabicOcr import arabicocr\n\n# Define the input and output image paths\nimage_path = 'pic.jpg'\nout_image = 'out.jpg'\n\n# Perform OCR on the image\nresults = arabicocr.arabic_ocr(image_path, out_image)\nprint(results)\n\n# Extract words from the results\nwords = [result[1] for result in results]\n\n# Save the words to a text file\nwith open('file.txt', 'w', encoding='utf-8') as myfile:\n    myfile.write(str(words))\n```\n\n## Description\n\nThe `ArabicOcr` package is used to convert Arabic text in images to text using OCR techniques.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhaouitiabdelhakim%2Farabicocr-python-tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkhaouitiabdelhakim%2Farabicocr-python-tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhaouitiabdelhakim%2Farabicocr-python-tutorial/lists"}