Your model
A custom image model for the app you're building.
Your model learns from your own training photos. Choose one of two kinds. An image classifier answers "what is this?": ripe, or almost ripe. An object detector answers "where is each one, and what is it?": it boxes and names every mango in the photo.
Where your model runs
On your users' phones, inside your app. You take your training photos on a phone, so your model learns from phone photos.
What your model on the phone gives your app:
Training in the cloud is different from a cloud model. Only the training runs on a server. Your model still runs on the phone.