All Projects → lizhengwei1992 → Fast_portrait_segmentation

lizhengwei1992 / Fast_portrait_segmentation

Fast (aimed to "real time") Portrait Segmentation on mobile phone

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Fast portrait segmentation

Depth clustering
🚕 Fast and robust clustering of point clouds generated with a Velodyne sensor.
Stars: ✭ 657 (+205.58%)
Mutual labels:  segmentation, real-time
hyperseg
HyperSeg - Official PyTorch Implementation
Stars: ✭ 174 (-19.07%)
Mutual labels:  real-time, segmentation
Autobahn Python
WebSocket and WAMP in Python for Twisted and asyncio
Stars: ✭ 2,305 (+972.09%)
Mutual labels:  real-time
Yave
Yet Another Vulkan Engine
Stars: ✭ 211 (-1.86%)
Mutual labels:  real-time
Swellrt
SwellRT main project. Server, JavaScript and Java clients
Stars: ✭ 205 (-4.65%)
Mutual labels:  real-time
Thunderpush
Push messages to browsers in real-time ⚡️
Stars: ✭ 202 (-6.05%)
Mutual labels:  real-time
Sudachipy
Python version of Sudachi, a Japanese tokenizer.
Stars: ✭ 207 (-3.72%)
Mutual labels:  segmentation
Mman
( ECCV2018 ) Macro-Micro Adversarial Network for Human Parsing
Stars: ✭ 200 (-6.98%)
Mutual labels:  segmentation
Ttnet Real Time Analysis System For Table Tennis Pytorch
Unofficial implementation of "TTNet: Real-time temporal and spatial video analysis of table tennis" (CVPR 2020)
Stars: ✭ 211 (-1.86%)
Mutual labels:  segmentation
Feathers
A framework for real-time applications and REST APIs with JavaScript and TypeScript
Stars: ✭ 13,761 (+6300.47%)
Mutual labels:  real-time
Trixi
Manage your machine learning experiments with trixi - modular, reproducible, high fashion. An experiment infrastructure optimized for PyTorch, but flexible enough to work for your framework and your tastes.
Stars: ✭ 211 (-1.86%)
Mutual labels:  segmentation
Pytorch realtime multi Person pose estimation
Pytorch version of Realtime Multi-Person Pose Estimation project
Stars: ✭ 205 (-4.65%)
Mutual labels:  real-time
Heart Rate Measurement Using Camera
real time application to measure heart rate
Stars: ✭ 202 (-6.05%)
Mutual labels:  real-time
Laravel Echo Server
Socket.io server for Laravel Echo
Stars: ✭ 2,487 (+1056.74%)
Mutual labels:  real-time
Ags
Learning Unsupervised Video Object Segmentation through Visual Attention (CVPR19, PAMI20)
Stars: ✭ 202 (-6.05%)
Mutual labels:  segmentation
Fcn
Chainer Implementation of Fully Convolutional Networks. (Training code to reproduce the original result is available.)
Stars: ✭ 211 (-1.86%)
Mutual labels:  segmentation
Deepmask Pytorch
PyTorch re-implementation of DeepMask
Stars: ✭ 201 (-6.51%)
Mutual labels:  segmentation
Btrack
A Real-Time Beat Tracker
Stars: ✭ 204 (-5.12%)
Mutual labels:  real-time
Portraitnet
Code for the paper "PortraitNet: Real-time portrait segmentation network for mobile device" @ CAD&Graphics2019
Stars: ✭ 207 (-3.72%)
Mutual labels:  segmentation
Com.unity.perception
Perception toolkit for sim2real training and validation
Stars: ✭ 208 (-3.26%)
Mutual labels:  segmentation

Fast_Portrait_Segmentation

Fast (aimed to "real time") Portrait Segmentation at mobile phone

This project is not normal semantic segmentation but focus on real-time protrait segmentation.All the experimentals works with pytorch.

I hope to find a effcient network which can run on mobile phone. Currently, successfull application of person body/protrait segmentation can be find in APP like SNOW&B612, whose technology is proposed by a Korea company Nalbi.

Models

  • mobilenet_dilate_unet[1][2][7][9]

    Encoder : mobilenet_v2(os: 32)

    Decoder : unet(concat low level feature) use dilate convolution at different stage(d = 2, 6, 12, 18)

  • Shuffle_Seg_SkipNet[4][10][18]

    Encoder : shufflenet

    Decoder : skip connection (add low level feature)

  • esp_dense_seg[20][10][15][19]

  • residualdense_bisenet[15][23][24]

    Attention model is a potential module in the segmentation task. I use a very light residual-dense net as the backbone of the Context Path. The details about fussion of last features in Contxt Path is not clear in the paper(BiSeNet: Bilateral Segmentation Network for Real-time Semantic Segmentation).

  • Segmentation + Matting [7][12][15]

    Hard segmentation + Soft matting.(coming soon)

update 2019/04/10: The code and pre_trained model of final version of the portrait_segmentation is released ! ! ! mobile_phone_human_matting

Speed Analysis

⚡️ Real-time ! ! ! 🎉🎉🎉

Platform : ncnn.

Mobile phone: Samsung Galaxy S8+(cpu).

model size (M) time(ms)
model_seg_matting 3.3 ~40

update : 2018/12/27: Demo video on my iphone 6 (baiduyun)

Result Examples

HUAWEI Mate 20 released recently can keep color on human and make the bacgrand gray in real time (click to view ). I test my model using cpu on my MAC, getting some videos here.

References

papers

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].