
you can know more about the code from the medium article
part 1 : https://medium.com/ak-thomas/label-reading-from-cardboard-box-using-cv2-and-deeplearning-libraries-6673f6c04b4f
part 2 : https://medium.com/ak-thomas/label-reading-from-cardboard-box-using-cv2-and-deeplearning-libraries-db767a2a8ca3
Components:
- Hed to detect edges of the label
- Find the text boxes using east edge detection model
- Merge the similar boxes
- Pytesseract OCR on the boxes to find the text