ignaciaginting commited on
Commit
23c1839
·
verified ·
1 Parent(s): f02e17a

testing 3 x 3 chunk

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -40,7 +40,7 @@ def render_pdf_page_as_image(doc, zoom=2.0):
40
  # -----------------------------
41
  # Chunk image into pieces
42
  # -----------------------------
43
- def chunk_image(image, rows=2, cols=2):
44
  width, height = image.size
45
  chunk_width = width // cols
46
  chunk_height = height // rows
 
40
  # -----------------------------
41
  # Chunk image into pieces
42
  # -----------------------------
43
+ def chunk_image(image, rows=3, cols=3):
44
  width, height = image.size
45
  chunk_width = width // cols
46
  chunk_height = height // rows