Coder Social home page Coder Social logo

mobile_phone_human_matting's Introduction

mobile_phone_human_matting

This project provides training and testing codes to build real_time human mattig on mobile phone only based CPU. Anather repo (Fast_Portrait_Segmentation) show more details about whence the project.

requirements

  • python3.5 / 3.6
  • pytorch 0.4/0.4.1
  • opencv-python

Usage

train

you need to prepare dataset and run ./train.sh.

test

use pre_trained model ./pre_train/erd_seg_matting.

test camera, you need a camera, run ./camera.sh. test image, run ./test.sh.

Speed Analysis

Platform : ncnn.

(use this tools convert the pytorch model to ncnn.)

Mobile phone: Samsung Galaxy S8+(cpu).

model size (M) time(ms)
erd_seg_matting 3.4 ~40

Demo video on my iphone 6 (baiduyun)

References

paper

repos

mobile_phone_human_matting's People

Contributors

lizhengwei1992 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.