mlbench123 commited on
Commit
7ab0357
·
verified ·
1 Parent(s): 8029c55

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -389,7 +389,7 @@ def detect_paper_bounds(image: np.ndarray, paper_size: str, output_unit: str = "
389
  paper_contour,
390
  paper_size,
391
  output_unit="mm",
392
- correction_factor=1.219, # Adjust this value
393
  method="average" # Try different methods
394
  )
395
  return paper_contour, scaling_factor
 
389
  paper_contour,
390
  paper_size,
391
  output_unit="mm",
392
+ correction_factor=1.225, # Adjust this value
393
  method="average" # Try different methods
394
  )
395
  return paper_contour, scaling_factor