Skip to main content

Photo Bhi Bol Uthega

Project description

# freshlybuiltimagebol Image to audio file python libary in development

freshlybuiltimagebol is the library made to allow users to perform various operations with text and images including translation to different languages, generarting audio file from text,extracting text from image and many more.

## Installation To use the library just run the command pip install freshlybuiltimagebol from your terminal. If the library is already installed than try pip install –upgrade freshlybuiltimagebol.

If any occurs persists then reinstalling the library might help, try pip install –force-reinstall freshlybuiltimagebol.

## Features 1. Translating and generating audio files from text

a) Translating Text This is used to translate text in different languages. Run freshlybuiltimagebol.ShabdDhwani.shabd_ki_bhasha_badlo(shabd,bhasha). Here ‘shabd’ is the text you want to translate and bhasha is the language in which you want to translate. Use lowercase in language name.

Example freshlybuiltimagebol.ShabdDhwani.shabd_ki_bhasha_badlo(“Welcome to Freshlybuilt”,”hindi”)

b) Pronounciation of the translated text We can also get a glimpse of how to prnounce the translated text. Run freshlybuiltimagebol.ShabdDhwani.bhasa_badlkr_kya_bole(shabd,bhasha).

c) Know the language of text (shabd_ki_bhasha_jaano) Run freshlybuiltimagebol.ShabdDhwani.shabd_ki_bhasha_jaano(shabd).

d)Convert text to sound output(shabd_se_dhwani) Run freshlybuiltimagebol.ShabdDhwani.shabd_se_dhwani(shabd,bhasha,filename).

e)Recognize text from natural scene image(natural_photo_se_text) Run freshlybuiltimagebol.download(‘east_text_detection’) first to download the model. Run freshlybuiltimagebol.NaturalPhotoShabd.text_pehchano(image).

freshlybuiltimagebol.NaturalPhotoShabd.text_pehchano(image,min_confidence=0.85,width=320,height=320,padding=0.00)

Parameters: - image=input image (type=numpy.ndarray) -required - min_confidence= minimum confidence threshold to detect text from image (default=0.85) -optional - width=resizing width of image (default=320) -optional - height=resizing height of image (default=320) -optional - padding = padding of text box around detected text (default=0.00) -optional

f)Preprocess image before text extraction(OCR_Printed_text.py) Run

freshlybuiltimagebol.ImageProcess.remove_noise(image). freshlybuiltimagebol.ImageProcess.remove_skew(image). freshlybuiltimagebol.ImageProcess.sharpness_blur(image). freshlybuiltimagebol.ImageProcess.to_text(image). freshlybuiltimagebol.ImageProcess.plot_image(image).

Parameter:

image=input image (type=numpy.ndarray) -required

## Contributors [Vishal Sharma](https://github.com/vishal2612200/): G.B. Pant Govt. Engineering College

[Kapil Bansal](https://github.com/KapilBansal320): G.B. Pant Govt. Engineering College

[Ravi Pawar](https://github.com/ravi5175): G.B. Pant Govt. Engineering College

[Sushmita](https://github.com/17sushmita): G.B. Pant Govt. Engineering College

[Simran](https://github.com/ishvik): Maharaja Agrasen Institute of Technology

Project details


Download files

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

Source Distribution

freshlybuiltimagebol-0.0.2.7.tar.gz (8.7 kB view details)

Uploaded Source

File details

Details for the file freshlybuiltimagebol-0.0.2.7.tar.gz.

File metadata

  • Download URL: freshlybuiltimagebol-0.0.2.7.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.20.0 setuptools/47.3.1 requests-toolbelt/0.8.0 tqdm/4.46.0 CPython/3.6.9

File hashes

Hashes for freshlybuiltimagebol-0.0.2.7.tar.gz
Algorithm Hash digest
SHA256 64911d3dc8057d737af7a15a54b9644dd38253a78ad223a46ed11f75a717f159
MD5 628c991340a888ffd69799d7c5ed4054
BLAKE2b-256 9a08ee0de3b0b58b03c40440a34563b55c8ed341f39175c18df3b4bbb6b09361

See more details on using hashes here.

Supported by

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