# How to initialize an object detector (detector.tflite) Kotlin for my android application?

**URL:** <https://discuss.kotlinlang.org/t/how-to-initialize-an-object-detector-detector-tflite-kotlin-for-my-android-application/20497>\
**Category:** Android\
**Created:** [January 12, 2021, 1:12pm UTC](https://discuss.kotlinlang.org/t/how-to-initialize-an-object-detector-detector-tflite-kotlin-for-my-android-application/20497 "2021-01-12T13:12:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![giourakilin96](https://avatars.discourse-cdn.com/v4/letter/g/22d042/32.png) [@giourakilin96](https://discuss.kotlinlang.org/u/giourakilin96)\
**Post date:** [January 12, 2021, 1:12pm UTC](https://discuss.kotlinlang.org/t/how-to-initialize-an-object-detector-detector-tflite-kotlin-for-my-android-application/20497/1 "2021-01-12T13:12:37Z")

</div>

I need to set up an Tensorflow-lite detector using Kotlin. Can someone show how to get the detector working on frames from camera feed. I created the preview added an analyzer but I don’t know how to process the frames and initialize the detector. I need to get as output the objects class name and the coordinates in an array.
