Skip to content

Commit

Permalink
Fix a missing line from previous commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
neyney10 authored and axu2 committed Nov 11, 2024
1 parent 50eb48f commit 6ba6906
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kindlecomicconverter/page_number_crop_alg.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ def get_bbox_crop_margin_page_number(img, power=1, background_color='white'):
if not bw_bbox: # bbox cannot be found in case that the entire resulted image is black.
return None

left, top_y_pos, right, bot_y_pos = bw_bbox

'''
We inspect the lower bottom part of the image where we suspect might be a page number.
We assume that page number consist of 1 to 3 digits and the total min and max size of the number
Expand Down

0 comments on commit 6ba6906

Please sign in to comment.