pavansuresh commited on
Commit
d9814fc
·
verified ·
1 Parent(s): 6ec64f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ logging.basicConfig(level=logging.INFO)
18
  logger = logging.getLogger(__name__)
19
 
20
  # Initialize PaddleOCR once with updated parameters
21
- ocr_model = PaddleOCR(use_angle_cls=True, lang='en')
22
 
23
  def analyze_uv_coverage(img, brightness_threshold=150, kernel_size=5, apply_blur=True, adaptive_thresh=False):
24
  """
 
18
  logger = logging.getLogger(__name__)
19
 
20
  # Initialize PaddleOCR once with updated parameters
21
+ ocr_model = PaddleOCR(use_textline_orientation=True, lang='en')
22
 
23
  def analyze_uv_coverage(img, brightness_threshold=150, kernel_size=5, apply_blur=True, adaptive_thresh=False):
24
  """