classify location of the expiry date on drug label and lot number

Is it possible that using the Machine Learning classification model we can classify/predict the LOCATION/ORIENTATION of the lot number and expiration date on different vials label?

If yes, possible approaches. If no why?

Thanks