How to train a custom object detection model which is compatible with ml kit library

I want to train a custom object detection model (hand detection).
I tried using Tensorflow’s Colab but it is not detecting any thing.
I used it in my android app but it says model is not compatible with ml kit library.
so can I make this model compatible with ml kit?
or how can I train a new model which is compatible with ml kit.
Thank you!