Skip to content

Commit 2ab7b6e

Browse files
committed
release: Prepare 0.0.2.8 release
- Removed hard-coded language list - Bind pip dependencies - Minor changes in Readme Co-authored by:- Kapil Bansal <[email protected]>
1 parent b314d44 commit 2ab7b6e

File tree

3 files changed

+22
-129
lines changed

3 files changed

+22
-129
lines changed

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ d)Convert text to sound output(shabd_se_dhwani)
3030
Run `freshlybuiltimagebol.ShabdDhwani.shabd_se_dhwani(shabd,bhasha,filename)`.
3131

3232
e)Recognize text from natural scene image(natural_photo_se_text)
33-
Run `freshlybuiltimagebol.download('east_text_detection')` first to download the model.
33+
Run `freshlybuiltimagebol.imagebol_model_downloader('F_est')` first to download the model, Right now, there is only one available model i.e 'F_est'.
3434
Run `freshlybuiltimagebol.NaturalPhotoShabd.text_pehchano(image)`.
3535

3636
**freshlybuiltimagebol.NaturalPhotoShabd.text_pehchano(image,min_confidence=0.85,width=320,height=320,padding=0.00)**
@@ -86,13 +86,12 @@ method - from freshlybuiltimagebol import imagebol_model_downloader(model_name)
8686
*important* while updating model file , hash key must be updated.
8787

8888
## Contributors
89-
[Vishal Sharma](https://github.com/vishal2612200/): G.B. Pant Govt. Engineering College
89+
[Vishal Sharma](https://github.com/vishal2612200/): G.B. Pant Govt. Engineering College, New Delhi
9090

91-
[Kapil Bansal](https://github.com/KapilBansal320): G.B. Pant Govt. Engineering College
91+
[Kapil Bansal](https://github.com/devkapilbansal): G.B. Pant Govt. Engineering College, New Delhi
9292

93-
[Ravi Pawar](https://github.com/ravi5175): G.B. Pant Govt. Engineering College
93+
[Ravi Pawar](https://github.com/ravi5175): G.B. Pant Govt. Engineering College, New Delhi
9494

95-
[Sushmita](https://github.com/17sushmita): G.B. Pant Govt. Engineering College
96-
97-
[Simran](https://github.com/ishvik): Maharaja Agrasen Institute of Technology
95+
[Sushmita](https://github.com/17sushmita): G.B. Pant Govt. Engineering College, New Delhi
9896

97+
[Simran](https://github.com/ishvik): Maharaja Agrasen Institute of Technology, New Delhi
Lines changed: 2 additions & 109 deletions
Original file line numberDiff line numberDiff line change
@@ -1,110 +1,3 @@
1-
bhasha_kosh = {
2-
'af': 'afrikaans',
3-
'sq': 'albanian',
4-
'am': 'amharic',
5-
'ar': 'arabic',
6-
'hy': 'armenian',
7-
'az': 'azerbaijani',
8-
'eu': 'basque',
9-
'be': 'belarusian',
10-
'bn': 'bengali',
11-
'bs': 'bosnian',
12-
'bg': 'bulgarian',
13-
'ca': 'catalan',
14-
'ceb': 'cebuano',
15-
'ny': 'chichewa',
16-
'zh-cn': 'chinese (simplified)',
17-
'zh-tw': 'chinese (traditional)',
18-
'co': 'corsican',
19-
'hr': 'croatian',
20-
'cs': 'czech',
21-
'da': 'danish',
22-
'nl': 'dutch',
23-
'en': 'english',
24-
'eo': 'esperanto',
25-
'et': 'estonian',
26-
'tl': 'filipino',
27-
'fi': 'finnish',
28-
'fr': 'french',
29-
'fy': 'frisian',
30-
'gl': 'galician',
31-
'ka': 'georgian',
32-
'de': 'german',
33-
'el': 'greek',
34-
'gu': 'gujarati',
35-
'ht': 'haitian creole',
36-
'ha': 'hausa',
37-
'haw': 'hawaiian',
38-
'iw': 'hebrew',
39-
'hi': 'hindi',
40-
'hmn': 'hmong',
41-
'hu': 'hungarian',
42-
'is': 'icelandic',
43-
'ig': 'igbo',
44-
'id': 'indonesian',
45-
'ga': 'irish',
46-
'it': 'italian',
47-
'ja': 'japanese',
48-
'jw': 'javanese',
49-
'kn': 'kannada',
50-
'kk': 'kazakh',
51-
'km': 'khmer',
52-
'ko': 'korean',
53-
'ku': 'kurdish (kurmanji)',
54-
'ky': 'kyrgyz',
55-
'lo': 'lao',
56-
'la': 'latin',
57-
'lv': 'latvian',
58-
'lt': 'lithuanian',
59-
'lb': 'luxembourgish',
60-
'mk': 'macedonian',
61-
'mg': 'malagasy',
62-
'ms': 'malay',
63-
'ml': 'malayalam',
64-
'mt': 'maltese',
65-
'mi': 'maori',
66-
'mr': 'marathi',
67-
'mn': 'mongolian',
68-
'my': 'myanmar (burmese)',
69-
'ne': 'nepali',
70-
'no': 'norwegian',
71-
'ps': 'pashto',
72-
'fa': 'persian',
73-
'pl': 'polish',
74-
'pt': 'portuguese',
75-
'pa': 'punjabi',
76-
'ro': 'romanian',
77-
'ru': 'russian',
78-
'sm': 'samoan',
79-
'gd': 'scots gaelic',
80-
'sr': 'serbian',
81-
'st': 'sesotho',
82-
'sn': 'shona',
83-
'sd': 'sindhi',
84-
'si': 'sinhala',
85-
'sk': 'slovak',
86-
'sl': 'slovenian',
87-
'so': 'somali',
88-
'es': 'spanish',
89-
'su': 'sundanese',
90-
'sw': 'swahili',
91-
'sv': 'swedish',
92-
'tg': 'tajik',
93-
'ta': 'tamil',
94-
'te': 'telugu',
95-
'th': 'thai',
96-
'tr': 'turkish',
97-
'uk': 'ukrainian',
98-
'ur': 'urdu',
99-
'uz': 'uzbek',
100-
'vi': 'vietnamese',
101-
'cy': 'welsh',
102-
'xh': 'xhosa',
103-
'yi': 'yiddish',
104-
'yo': 'yoruba',
105-
'zu': 'zulu',
106-
'fil': 'Filipino',
107-
'he': 'Hebrew',
108-
}
1+
from googletrans import LANGUAGES as bhasha_kosh
1092

110-
bhasha_codes = dict(map(reversed, bhasha_kosh.items()))
3+
bhasha_codes = dict(map(reversed, bhasha_kosh.items()))

setup.py

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,28 +18,29 @@
1818
setup(
1919
name='freshlybuiltimagebol',
2020
packages=['freshlybuiltimagebol'],
21-
version='0.0.2.7',
21+
version='0.0.2.8',
2222
license='MIT',
2323
description='Photo Bhi Bol Uthega',
2424
long_description=long_description,
2525
long_description_content_type="text/markdown",
2626
author='Vishal Sharma',
2727
author_email='[email protected]',
2828
url='https://github.com/FreshlyBuilt/freshlybuiltimagebol',
29-
download_url='https://github.com/FreshlyBuilt/freshlybuiltimagebol/archive/v0.0.2.7.tar.gz',
29+
download_url='https://github.com/FreshlyBuilt/freshlybuiltimagebol/archive/v0.0.2.8.tar.gz',
3030
keywords=['Image', 'Audio', 'Text'],
3131
install_requires=[
32-
'hyper',
33-
'tqdm',
34-
'colorama',
35-
'googletrans',
36-
'gTTS',
37-
'Pillow',
38-
'pytesseract',
39-
'opencv-python',
40-
'numpy',
41-
'matplotlib',
42-
'imutils',
32+
'hyper==0.5.0',
33+
'tqdm==4.46.0',
34+
'colorama~=0.4',
35+
'googletrans==3.1.0a0',
36+
'gTTS==2.2.1',
37+
'gTTS-token==1.1.4',
38+
'Pillow~=7.0',
39+
'pytesseract==0.3.2',
40+
'opencv-python==4.1.2.30',
41+
'numpy==1.16.3',
42+
'matplotlib==3.1.3',
43+
'imutils==0.5.3',
4344
],
4445
classifiers=[
4546
'Development Status :: 3 - Alpha',

0 commit comments

Comments
 (0)