> For the complete documentation index, see [llms.txt](https://polyv.gitbook.io/document/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://polyv.gitbook.io/document/docs/live/product/other-common-question/video_matting.md).

# Video Matting

new Vue({ el: '#player', data() { return { vodPlayerJs: '<https://player.polyv.net/script/player.js>', vid:'88083abbf56d58a65a11a88b0399c18d\_8', }; }, mounted(){ this.loadPlayerScript(this.loadPlayer); }, methods: { loadPlayerScript(callback) { if (!window\.polyvPlayer) { const myScript = document.createElement('script'); myScript.setAttribute('src', this.vodPlayerJs); myScript.onload = callback; document.body.appendChild(myScript); } else { callback(); } }, loadPlayer() { const polyvPlayer = window\.polyvPlayer; this.player = polyvPlayer({ wrap: '#player', vid: this.vid , autoplay:false }); } }, destroyed() { if (this.player) { this.player.destroy(); } } })

1. 影响直播抠像质量的因素主要有两个，一是背景光线，二是摄像机像素
2. 从三个方面着手，可以提高抠像质量：\
   2.1 选择纯色和平整的背景布/背景纸\
   2.2 背景布的灯光要足够亮和均匀（怎么布置灯光）\
   2.3 使用保利威视直播客户端进行抠像时，稍微调整颜色容差和颜色平滑
3. 人物抠出后，在底下添加适当的背景
