mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-12 06:26:16 -08:00
add selfie_segmentation
This commit is contained in:
1 parent
56b71879e8
commit
bdecbffeeb
17 files changed
+9964
-68
No files matched your search
@@ -1,6 +1,9 @@
|
||||
// npm i artplayer-plugin-danmuku-mask
|
||||
// import artplayerPluginDanmukuMask from 'artplayer-plugin-danmuku-mask';
|
||||
|
||||
// npm i @mediapipe/selfie_segmentation
|
||||
// 把 node_modules/@mediapipe/selfie_segmentation 目录复制到你的项目下
|
||||
|
||||
var art = new Artplayer({
|
||||
container: '.artplayer-app',
|
||||
url: '/assets/sample/video.mp4',
|
||||
@@ -13,7 +16,7 @@ var art = new Artplayer({
|
||||
danmuku: '/assets/sample/danmuku.xml'
|
||||
}),
|
||||
artplayerPluginDanmukuMask({
|
||||
//
|
||||
solutionPath: '/assets/@mediapipe/selfie_segmentation',
|
||||
}),
|
||||
],
|
||||
});
|
||||
Reference in new issue
Block a user