Skip to content

In this repository, monocular depth estimation is implemented using MiDaS v2.1 small model for Android mobile devices.

Notifications You must be signed in to change notification settings

haruncetin/MonocularDepthEstimation

Repository files navigation

Monocular Depth Estimation With MiDaS on Android Mobile Devices

This project is developed for the CMP721 - Computational Photography (Fall 2022) PhD course given by Ahmet Selman Bozkır from Computer Engineering Department at Hacettepe University.

Introduction

In this project, monocular depth estimation is implemented using pre-trained MiDaS deep learning model. Tensorflow Lite is used as a backend inference engine in the project. The engine uses the MiDaS v2.1 small as an inference model. The model can be downloaded from model's Tensorflow Hub page.

Performance

The model performance mostly depends on device specifications that run the application. The model tested on two devices detailed in table below:

Device OS Inference Time (ms) Frame Per Second
Xiaomi Redmi Note 10 Pro Android 13 90-150 4
Xiaomi Redmi Note 8 Pro Android 11 70-80 6
Lenovo K6 Note Android 7 500-700 1
Galaxy A02S Android 12 Failed Failed
Galaxy J4 Android 10 2400-2800 1

Screenshots

Lenovo K6 Note

Xiaomi Redmi Note 8 Pro

Xiaomi Redmi Note 10 Pro

Galaxy J4

About

In this repository, monocular depth estimation is implemented using MiDaS v2.1 small model for Android mobile devices.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages