Even more improved line detection

This commit is contained in:
Caesar2011
2019-03-17 22:25:25 +01:00
parent 59e73827cf
commit e96d833fe9
4 changed files with 20 additions and 15 deletions

View File

@@ -12,8 +12,6 @@ for root, dirs, files in os.walk("data"):
if file.startswith("receipt-08"):
image = load_image("data/"+file)
receipt = cut_receipt(image, draw_steps=True)
plt.imshow(receipt)
plt.show()
lines = find_lines(receipt)
for line in lines:
plt.imshow(line, cmap="gray")