Closed
Description
@felixdittrich92 i have face result image is not upto quality...fonts are breaks in result image..
model = ocr_predictor(pretrained=True)
# PDF
doc = DocumentFile.from_pdf("bankstatement.pdf")
# Analyze
result = model(doc)
import matplotlib.pyplot as plt
plt.imshow(result.synthesize()[0]); plt.axis('off'); plt.show()
Originally posted by @tzktz in #1525 (comment)