Giter VIP home page Giter VIP logo

fcrn-coreml's Introduction

Depth estimation using FCRN-CoreML

iOS and macOS

Depth Estimation sample Apps for iOS and macOS, using the FCRN-DepthPrediction models Apple provided on their model page.

fcrn16-iOS fcrn16-macOS

  • Loads an image and crops it to the input size requested by the FCRN model

  • The same helper class ImagePlatform provides hardware accelerated processing tools for both iOS and macOS images and buffers

  • Supports both FCRN-16 and FCRN-32 models

  • You can post the predicted cropped portrait photo to Facebook as a 3D photo directly from your iPhone

    Post to Facebook as 3D photo
  • You can also post the cropped predicted depthmap together with the cropped input image photo to Facebook as a 3D photo directly using a browser on your Mac or PC. See this guide for more information.

Before you try the sample App you need to download a model and save it in the mlmodel folder

You can download FCRN-DepthPrediction CoreML models from https://developer.apple.com/machine-learning/models/

You can download just one of them, both work with this project. Choose which one to use by setting the relevant build target in Xcode

FCRN.mlmodel Storing model weights using full precision (32 bit) floating points numbers. 254.7MB https://docs-assets.developer.apple.com/coreml/models/Image/DepthEstimation/FCRN/FCRN.mlmodel

FCRNFP16.mlmodel Storing model weights using half-precision (16 bit) floating points numbers. 127.3MB https://docs-assets.developer.apple.com/coreml/models/Image/DepthEstimation/FCRN/FCRNFP16.mlmodel

fcrn-coreml's People

Contributors

norod avatar

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.