Commit 8702feae authored by Hidde Leistra's avatar Hidde Leistra Committed by Hidde Leistra

Change input for corner detection test

parent 9d581adc
Pipeline #17989 failed with stages
in 3 minutes and 9 seconds
......@@ -19,6 +19,7 @@ def distance(keyp1, keyp2):
def generate_image(name, datadir):
pdf_path = os.path.join(datadir, 'scanned_pdfs', f'{name}')
pil_im = PIL.Image.open(pdf_path)
pil_im = pil_im.convert('RGB')
image_array = np.array(pil_im)
return image_array
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment