OpenCV  3.4.19
Open Source Computer Vision
How to run deep networks on Android device

Prev Tutorial: How to schedule your network for Halide backend

Next Tutorial: YOLO DNNs

Introduction

In this tutorial you'll know how to run deep learning networks on Android device using OpenCV deep learning module.

Tutorial was written for the following versions of corresponding software:

Requirements

Create an empty Android Studio project

Add OpenCV dependency

Make a sample

Our sample will takes pictures from a camera, forwards it into a deep network and receives a set of rectangles, class identifiers and confidence values in [0, 1] range.