Skip to main content

ArabicOcr Package to convert any Arabic image text to text by ocr techniques

about

Python Package to convert arabic images to text

Installation

pip install ArabicOcr
or in colab google cloud
!pip install ArabicOcr

Usage for get frames images

from ArabicOcr import arabicocr
image_path='1.jpg'
out_image='out.jpg'
results=arabicocr.arabic_ocr(image_path,out_image)
print(results)
words=[]
for i in range(len(results)):	
		word=results[i][1]
		words.append(word)
with open ('file.txt','w',encoding='utf-8')as myfile:
		myfile.write(str(words))
import cv2
img = cv2.imread('out.jpg', cv2.IMREAD_UNCHANGED)
cv2.imshow("arabic ocr",img)
cv2.waitKey(0)

Tutorial

u can see tutorial in colab

https://colab.research.google.com/drive/1ay5KT9Za340_kN7fhS2xuJX8suCigaF6?usp=sharing

Metadata

Release files for ArabicOcr 1.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ArabicOcr 1.1.6
File Size Uploaded
ArabicOcr-1.1.6.tar.gz 2.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ArabicOcr 1.1.6
File Interpreter ABI Platform
ArabicOcr-1.1.6-py3-none-any.whl Python 3 none any Details

Total release size: 5.8 kB

Release files / ArabicOcr-1.1.6.tar.gz

Download URL ArabicOcr-1.1.6.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
80306265d869c94c942b4d69ac48aeb754b20436e2eb659739f80cb6e6979b47
BLAKE2b-256 checksum
How to use checksums
b201794501bd1c5903540763225b142f1a6b94cccd3583cb776c7324b4a952f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.0

Release files / ArabicOcr-1.1.6-py3-none-any.whl

Download URL ArabicOcr-1.1.6-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e283e7aa30e28b3f162c05541d39bcf865fab87b87eaa6ab910842dc8b844c16
BLAKE2b-256 checksum
How to use checksums
8ab7cbc39f0d7893cd58d06cfa09f8dc675d9c2c62087ebd80c4f57c5a25dad7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.0

Release history Release notifications | RSS feed

This release

1.1.6 This release

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page