We migrate the entire code base of the Android application TUM-Lens from Java to
Kotlin. This facilitates the future development of the app as it makes the code more concise
and error-proof. We elaborate on further advantages of the Kotlin language over Java and
analyse how this migration lowered the lines of the existing code. Moreover, we expand the
functionalities of the app by an object detection feature based on Google’s open source deep
learning framework TensorFlow Lite. The implementation follows in the previous TUM-Lens
developer’s footsteps and integrates the object detection to work entirely on-device so that
no data needs to be exchanged with external servers. On the object detection theory side, we
distinguish object detection from other visual machine learning tasks and survey a selection
of modern deep learning architectures - both for backbone and detector networks. In addition,
we study the mechanics of a specific model, the SSD MobileNet v1, as this is the model applied
to the object detection task in TUM-Lens. This thesis expands Maximilian Jokel’s previ-
ous work Implementing a TensorFlow-Slim based Android app for image classification (2020).
The repository containing the source code belonging to this thesis can be found here:
https://gitlab.lrz.de/dvrws/lens
«
We migrate the entire code base of the Android application TUM-Lens from Java to
Kotlin. This facilitates the future development of the app as it makes the code more concise
and error-proof. We elaborate on further advantages of the Kotlin language over Java and
analyse how this migration lowered the lines of the existing code. Moreover, we expand the
functionalities of the app by an object detection feature based on Google’s open source deep
learning framework TensorFlow Lite. The implemen...
»