Spaces:
Runtime error
Runtime error
Upload folder using huggingface_hub
Browse files- app.py +1 -0
- static/pics/bharatOCR.png +0 -0
- static/pics/visualizeIndicPhotoOCR.png +0 -0
- test_images/cropped_image/image_141_0.jpg +0 -0
- test_images/cropped_image/image_141_10.jpg +0 -0
- test_images/cropped_image/image_141_2.jpg +0 -0
- test_images/cropped_image/image_141_5.jpg +0 -0
- test_images/cropped_image/image_141_6.jpg +0 -0
- test_images/cropped_image/image_141_7.jpg +0 -0
- test_images/cropped_image/image_141_9.jpg +0 -0
- test_images/image_1164.jpg +0 -0
app.py
CHANGED
|
@@ -27,6 +27,7 @@ DEVICE = "cpu"
|
|
| 27 |
# Initialize the OCR object for text detection and recognition
|
| 28 |
ocr = OCR(device="cpu", verbose=False)
|
| 29 |
def translate_en_hin(given_str):
|
|
|
|
| 30 |
|
| 31 |
|
| 32 |
|
|
|
|
| 27 |
# Initialize the OCR object for text detection and recognition
|
| 28 |
ocr = OCR(device="cpu", verbose=False)
|
| 29 |
def translate_en_hin(given_str):
|
| 30 |
+
return given_str
|
| 31 |
|
| 32 |
|
| 33 |
|
static/pics/bharatOCR.png
CHANGED
|
|
Git LFS Details
|
static/pics/visualizeIndicPhotoOCR.png
CHANGED
|
|
Git LFS Details
|
test_images/cropped_image/image_141_0.jpg
CHANGED
|
|
Git LFS Details
|
test_images/cropped_image/image_141_10.jpg
CHANGED
|
|
Git LFS Details
|
test_images/cropped_image/image_141_2.jpg
CHANGED
|
|
Git LFS Details
|
test_images/cropped_image/image_141_5.jpg
CHANGED
|
|
Git LFS Details
|
test_images/cropped_image/image_141_6.jpg
CHANGED
|
|
Git LFS Details
|
test_images/cropped_image/image_141_7.jpg
CHANGED
|
|
Git LFS Details
|
test_images/cropped_image/image_141_9.jpg
CHANGED
|
|
Git LFS Details
|
test_images/image_1164.jpg
CHANGED
|
|
Git LFS Details
|