extract nutrients and allergens from pdf file and scanned images in python. Extracted UI built on next.js to upload a file