Facebook camera filters clone application

Hey ! I want to make an Ionic 2/3 application just like Facebook or Snapchat photo filters.
I need my app to change background, Add caps, mustache, beards etc.
What should i do or is there any library available for that ?