Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 1.36 KB

README.md

File metadata and controls

42 lines (28 loc) · 1.36 KB

portrait-matting-wechat

Use portrait matting in WeChat mini program

Menu Page

page menu

Segmentation Page

page segmentation

Matting Page

page matting

Description

Provides API services by portrait-matting-unet-flask. Before you start, please confirm that there are no problems with the API service. It is recommended to use PostMan for testing.

Run

Modify the /miniprogram/utils/api.js file based on your needs

var api = 'http://xxx.xx.xx.xxx/api';          // server address
// var api = "http://127.0.0.1:5000/api";      // local address

var url = {
  baseUrl: `${api}`,
  seg: `${api}/seg`,                   
  upload: `${api}/wechat/upload`,      
  matting: `${api}/wechat/matting`,    
}

module.exports = url;

Thanks

The birth of this project is inseparable from the following projects:

ColorUI:Vibrant, high-saturation colors, a small program component library focused on vision