Pharmacy automation is described as a mechanical system that performs operations related to the storage, packaging,…