The concept of memory leaks is quite daunting for a lot of developers out there. They find it difficult, time-consuming,
boring and unnecessary but fortunately, none of these are actually true
Using TensorFlow Lite library for object detection. TensorFlow Lite is TensorFlow’s lightweight solution for mobile devices.
It enables on-device machine learning inference with low latency.
Everyone has been writing the business logic in the MainActivity or Fragment and this makes the code tightly coupled with
the lifecycle of the app. But we can all agree to the fact not all code needs to be attached with the lifecycle.