Image Recognition Algorithm using Transfer Learning