MarcoForte / FBA_Matting

Official repository for the paper F, B, Alpha Matting
MIT License
464 stars 95 forks source link

Matting on Mobile Devices #8

Closed InternetMaster1 closed 4 years ago

InternetMaster1 commented 4 years ago

Thanks, and congratulations on SOTA! Wow... You guys are on top of the alphamatting charts.

Sorry for the newbie questions

  1. Can this algorithm be used on mobile devices for image matting? Or you feel this is too heavy for the task? Can you point me in the right direction?

  2. Can automated trimap generation libraries be used? Or the quality of the trimap matters too in getting good results? I am wondering how to do automation without any manual intervention. e.g. https://github.com/lnugraha/trimap_generator or opencv erode and dilate methods

MarcoForte commented 4 years ago

Thanks for your interest!

  1. This network architecture may be a bit heavy for mobile. For example, Group Normalization is not as computationally efficient as batch-norm at test-time. Some of my findings can be applied to this work https://arxiv.org/abs/1905.06747
  2. They can be used certainly. Trimap doesn't have to be extremely tight.