Extract the text from user given tablet image using OCR( I use PaddleOCR because of it's speed and accuracy) .Identify drug in OCR extracted text by using spatial information of the text . Finally scrap the Drug Purpose , Drug Side Effects and Drug Price from PharmEasy website.
git clone https://github.com/sukeshan/Identifying-the-purpose-of-the-tablet.git
pip install -r Requirements.txt
from main import check
check(file : image_path , drug_only : False) # If drug_only is True ,It will only return Drug name