androidobject-detectiontensorflow-litemachine-learning-model

Can TensorFlow Lite can detect material of object and object itself at a time in android studio?


Is there any way to simultaneously detect the material of any specific object and the object itself in android studio for android applications?


Solution

  • For future reference I am doing a small recap of my suggestions from the comments section.

    There are two ways to "simultaneously detect the material of any specific object and the object itself" or to do smth similar:

    1. You train a custom ML model to do that, convert that to .tflite and deploy it on your app (I think from ML side this could be more difficult)
    2. You train/get two different ML models, one for object detection (you can find pretrained models for most of the objects, or you train one if you want to detect more specific object), and the other one it can be a classification model, and depending on your use case I think you have to train one yourself, since it very unlikely to find a pretrained model for your use case. Then you will have to run this two models sequentially, first detect the object then classify it.