renaming
This commit is contained in:
parent
f5f60c57da
commit
512d217b05
@ -54,8 +54,8 @@ def annotate_boxes_in_pdf(pdf_path, page_index=1):
|
||||
page = pdf2image.convert_from_path(pdf_path, first_page=page_index + 1, last_page=page_index + 1)[0]
|
||||
page = np.array(page)
|
||||
|
||||
asd = find_redactions(page)
|
||||
page = annotate_poly(page, asd)
|
||||
redaction_contours = find_redactions(page)
|
||||
page = annotate_poly(page, redaction_contours)
|
||||
|
||||
fig, ax = plt.subplots(1, 1)
|
||||
fig.set_size_inches(20, 20)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user