GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - chenmingjia/bilibili-danmu: 使用 Mask-RCNN 实现弹幕防遮挡

BranchesTags
Open more actions menu

Latest commit

 

History

1 Commit
1 Commit

Folders and files

NameName
Last commit message
Last commit date
.ipynb_checkpoints
.ipynb_checkpoints
 
 
DanmakuFactory_1.11_release
DanmakuFactory_1.11_release
 
 
Danmu-MaskCNN.ipynb
Danmu-MaskCNN.ipynb
 
 
README.md
README.md
 
 
Untitled.ipynb
Untitled.ipynb
 
 

Repository files navigation

项目说明

基于** Mask R-CNN**实现的视频蒙版弹幕,基本拥有bilibili官方的类似的效果。

主要在后端提前根据原视频构建出人物的Mask, 本例子直接将视频和字幕合成,实际线上应该使用前端技术,将 mask 与 弹幕进行遮蔽。

视频效果截图

image.png image.png

Requirements

  • numpy
  • tensorflow
  • keras
  • opencv
  • Mask R-CNN
  • ... ...

准备工作

1. 用 https://www.kanbilibili.com/ 来下载 B站视频和弹幕

例如:https://www.kanbilibili.com/video/av54944922?from=search&seid=13855581700550241007#download

2. 然后用 DanmakuFactory_1.11_release 来将 xml 文件转化为 ass 字幕文件

3. 使用格式工厂将视频和ass进行合成,产生原视频和字幕视频

4. 下载 https://github.com/matterport/Mask_RCNN 源代码,在sample目录下运行该notebook

5. 修改配置文件

About

使用 Mask-RCNN 实现弹幕防遮挡

Resources

Readme
Activity

Stars

6 stars

Watchers

0 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.