Git Product home page Git Product logo

freefighter's Introduction

——基于PaddleHub的真人街霸游戏

街霸(Street Fighter)是大家非常熟悉的一个游戏。小时候我们都会和小伙伴们互相喊着“阿斗根”来发大招。现在借助于Paddlehub提供的视频人物分析技术,我们可以进入到街霸的世界里,虐别人和被虐。

1. 游戏展示

b站链接:https://www.bilibili.com/video/BV1qi4y1P7db/

2. 实现思路

在视频中查找与游戏人物动作最接近的frame,抽取其中的人体部分,生成相应的GIF动图,作为游戏人物的素材。运行时左右侧游戏角色分别为images/RYU1和images/RUYU2.

3. Requirements

  • numpy
  • paddlepaddle
  • paddlehub
  • opencv-python

4. RUN

python demo.py --search_video mp4/dance.mp4

cp output/*.gif StreetFighter/images/RYU1/

cd StreetFighter

浏览器打开StreetFighter/index.html即可,具体操作说明参见StreetFighter/README。

freefighter's People

Contributors

tabsun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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