Code Monkey home page Code Monkey logo

zoe_barrage's Introduction

Zoe barrage

flutter 1.22 python 3.8 android ios

Flutter~Python AI弹幕播放器来袭!

flutter run --release构建正式包体验

./py路径下包含视频帧处理脚本源码,处理后的结果已导出res.json文件,flutter构建时会打包进去

如果想预处理自己导入的视频(因为是离线演示,体积最好不要超过5M):

  1. 确保本地有python3.6+环境
  2. 根目录下安装依赖pip install -r ./py/requirements.txt -i https://mirrors.aliyun.com/pypi/simple(国内请使用阿里云镜像,mac下请加sudo管理员前缀)
  3. 将视频放入./py目录,修改视频文件名为source.mp4
  4. 根目录下依次运行脚本:
  • python ./py/1.frames.py
  • python ./py/2.discern.py
  • python ./py/3.translate.py

完整实现教程可见文章:《跨平台AI弹幕播放器》

APP效果预览

IPhone运行时录屏:戳这里观看
android & ios ScreenShot

zoe_barrage's People

Contributors

yukilzw 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.