I have got medicine wrapper ( Packaging ) of different medicines.

I want to detect medicine name out of it.

I'm using Google Cloud Vision to extract all the text from the medicine wrapper.

Text contains medicine mfg info, address, pin code, expiry date, ingredients and most importantly medicine name.

I want to extract only medicine name out of it.

What are the possible ways to get medicine name ?


  • $\begingroup$ Be warned: not only the "commercial" name but even the "production name" can differ from country to country. You will want to take that into account $\endgroup$ – Carl Witthoft Jun 3 at 13:00

If you know the label layer you can isolate this area geometrically or using a marker. If not, try to get a Vademecum (list of medicine names and other characteristics) and after the OCR chose the closest one from it.

| improve this answer | |
  • $\begingroup$ So do I need to check each and every word with the list of medicine names ? $\endgroup$ – Åbħísħêk Đêsħkăr Jun 4 at 2:56
  • $\begingroup$ It's a way, yes. You get the text and compare against a list. Alternatively you may find markers, but this will depend on your packaging. The first method is way easier. $\endgroup$ – Eduardo Di Santi Grönros Jun 4 at 20:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.