GithubHelp home page GithubHelp logo

allrounddev / bilivts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tenyachannel/bilivts

0.0 0.0 0.0 12.88 MB

在bilibili直播间使用弹幕控制l2d模型。Control L2D model through bilibili chat

License: GNU General Public License v3.0

Python 100.00%

bilivts's Introduction

biliVTS v0.1

在bilibili直播间使用弹幕控制l2d模型。

环境

使用python3.8

pip install -r requirements.txt

使用方法

主播

  • 初次使用先在VTS中启用API,然后运行get_app_token.py,在VTS授权后,得到auth_key,然后将其填入配置文件的authenticationToken中。
  • 参考config_template.jsonconfig_example_cangyang.json,配置好配置文件。
  • 运行danmaku_vts_controller.py,输入配置文件路径即可运行。可控制的参数会自动从VTS读取,输出到控制台。

弹幕

只需要发送如下格式的弹幕即可:

danmaku_id param_name target_value

其中danmaku_id是配置文件中设置的模型标识,param_name是控制参数名称,target_value是设置的参数的值。

以``config_example_cangyang.json的设置为例,c FaceAngleX 30`会将脸的X方向转动设置到向右的最大角度。

Demo

demo1

demo1

demo1

bilivts's People

Contributors

tenyachannel avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.