Text this: Smart agriculture framework from imagery based on representation learning