Skip to main content

A small example package

Project description

#For Convert Image To Text

Download Tesseract-OCR first.

Follow the link:

#For WINDOWS:- https://github.com/UB-Mannheim/tesseract/wiki

#For macOS https://github.com/scott0123/Tesseract-macOS

#Set Environment variable to :-

Variable:-Tesseract-OCR

Path:- Path where Tesseract-OCR is installed like(C:\Program Files\Tesseract-OCR\tesseract.exe)

#type following code in python shell after installing library. 1st step : from TextExtract_Img_Aud 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

###################################################################################################################################################################################################################################################### ########################################################################################################################################################################################################################################################### ################################################################################################################################################################################################################################

For Convert Audio To Text

#Download ffmpeg.

windows:-https://ffmpeg.zeranoe.com/builds/

#Set 2 Environment variable to :-

1)Variable:-pydub

Path:- Path where pydub is installed like(C:\Program Files\Python37\Lib\site-packages\pydub)

2)Variable:- Path Path :- Path where ffmpeg installed like(C:\ffmpeg-20191022-0b8956b-win64-static\bin)

#type following code in python shell after installing library. 1st step :

from TextExtract_Img_Aud import AudioTextConverter

2nd step:

AudioTextConverter.A2T('Type of Your Audio file','Path_of_your_AUDIO_file')

In ('Type of Your Audio file','Path_of_your_AUDIO_file') here write the type and path of audiofile that u want extract the text from. for example 'AudioTextConverter.A2T('mp3',r'C:\Users\Dell\Downloads\AudioFiles\Models_Etc.mp3')'like that only

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

TextExtract_Img_Aud-0.1.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

TextExtract_Img_Aud-0.1-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file TextExtract_Img_Aud-0.1.tar.gz.

File metadata

  • Download URL: TextExtract_Img_Aud-0.1.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.7.4

File hashes

Hashes for TextExtract_Img_Aud-0.1.tar.gz
Algorithm Hash digest
SHA256 f12b468a276f0c13a5b81cded3d15bdef974d93130ee50167c2a14dbf0f9c0b1
MD5 4d6f0b1c3cffdc2155b64996bade02bb
BLAKE2b-256 b09ac97f823b2f3795e4911ca835f7280f261aaad476ba0a2270b59e53f8c9f9

See more details on using hashes here.

File details

Details for the file TextExtract_Img_Aud-0.1-py3-none-any.whl.

File metadata

  • Download URL: TextExtract_Img_Aud-0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.7.4

File hashes

Hashes for TextExtract_Img_Aud-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7a4d13957c179c876ce9c8edb7f3912f58ba71303ebb9faa736e0de4de47c2e0
MD5 7a5efd36aa48ddec86d388d2600772ce
BLAKE2b-256 6e8711293af64d0ed7ce3b5e6bef8971bdf5a4165be6ab6cbbc8b2890752205a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page