CBIR on Android
===

I want to make CBIR application on Android. the application will retrieve object of flower. when the user input the picture of flower, it will show the flower that matching with input and its information. I confuse with the database, it is better to be online or offline? if I use online database, what is the better way? if I make it offline, is it really slow down the performance?
thanks.