Skip to content

Cannot show Persian numbers #155

Description

@netwons

im code

#!/bin/python3.8
import cv2 
import pytesseract

img = cv2.imread('/home/netwons/Desktop/fff.jpeg')

# Adding custom options
custom_config = r'--oem 3 --psm 6'
text=pytesseract.image_to_string(img,lang="fas", config=custom_config)


f= open("/home/netwons/Desktop/py.txt","w")
f.write(text)
f.close()

Cannot show Persian numbers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions