Giter Club home page Giter Club logo

depthprediction-coreml's Introduction

DepthPrediction-CoreML

platform-ios swift-version lisence

This project is Depth Prediction on iOS with Core ML.
If you are interested in iOS + Machine Learning, visit here you can see various DEMOs.

GIF demo 1 Screenshot 1 Screenshot 2 Screenshot 3 Screenshot 4

How it works

When use Metal

image

Requirements

  • Xcode 10.2+
  • iOS 11.0+
  • Swift 5

Model

Download

Download model from apple's model page.

Matadata

input node output node size
FCRN [1, 304, 228, 3]
name: image
[1, 128, 160]
name: depthmap
254.7 MB
FCRNFP16 [1, 304, 228, 3]
name: image
[1, 128, 160]
name: depthmap
127.3 MB

Inference Time

Device Inference Time Total Time(GPU) Total Time(CPU)
iPhone 12 Pro Max
iPhone 12 Pro
iPhone 12
iPhone 12 Mini
iPhone 11 Pro Max
iPhone 11 Pro 134 ms 134 ms 149 ms
iPhone 11
iPhone SE(2nd)
iPhone XS Max 146 ms 155 ms
iPhone XS 146 ms 151 ms
iPhone XR 148 ms 154 ms
iPhone X 624 ms 640 ms
iPhone 8+ 621 ms 634 ms
iPhone 8 626 ms 639 ms
iPhone 7+ 595 ms 609 ms
iPhone 7 612 ms 624 ms
iPhone 6S+ 1038 ms 1051 ms

See also

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.