Update app.py
Browse files
app.py
CHANGED
@@ -2,6 +2,7 @@ import gradio as gr
|
|
2 |
from helpers import OCRD
|
3 |
|
4 |
|
|
|
5 |
def run_ocrd_pipeline(img_path, status=gr.Progress(), binarize_mode='detailed', min_pixel_sum=30, median_bounds=(None, None), font_size=30):
|
6 |
"""
|
7 |
Executes the OCRD pipeline on an image from file loading to text overlay creation. This function orchestrates
|
|
|
2 |
from helpers import OCRD
|
3 |
|
4 |
|
5 |
+
|
6 |
def run_ocrd_pipeline(img_path, status=gr.Progress(), binarize_mode='detailed', min_pixel_sum=30, median_bounds=(None, None), font_size=30):
|
7 |
"""
|
8 |
Executes the OCRD pipeline on an image from file loading to text overlay creation. This function orchestrates
|