sinful1992 commited on
Commit
dcfbd2e
·
1 Parent(s): 212b6c3

perf(ocr): raise image cap to 4096px for higher quality

Browse files
Files changed (1) hide show
  1. utils/image_prep.py +1 -1
utils/image_prep.py CHANGED
@@ -2,7 +2,7 @@ import cv2
2
  import numpy as np
3
 
4
 
5
- MAX_LONG_EDGE = 2048
6
 
7
 
8
  def preprocess_image(input_data: str | bytes | np.ndarray) -> np.ndarray:
 
2
  import numpy as np
3
 
4
 
5
+ MAX_LONG_EDGE = 4096
6
 
7
 
8
  def preprocess_image(input_data: str | bytes | np.ndarray) -> np.ndarray: