semvec/pypi-packages huggingface dataset:
ImageTOText 0.0.1
A small example package
Requires Python: >=3.6

# Example Package
#type following code in python shell after installing library.

1st step :
 from ImagetotextLib import ImageTextConverter
2nd step:
ImageTextConverter.img2txt('Path_of_your_Image_file')

In ('Path_of_your_Image_file') here write the path of image file that u want extract the text from.
for example 'ImageTextConverter.img2txt(r'C:\Users\Dell\Downloads\Images\PythonKnowledgeGraph.png')'like that only
Image2textLib 0.1.5
A small example package
Requires Python: >=3.6

# Example Package
#type following code in python shell after installing library.

1st step :
 from ImagetotextLib import ImageTextConverter
2nd step:
ImageTextConverter.img2txt('Path_of_your_Image_file')

In ('Path_of_your_Image_file') here write the path of image file that u want extract the text from.
for example 'ImageTextConverter.img2txt(r'C:\Users\Dell\Downloads\Images\PythonKnowledgeGraph.png')'like that only