GithubHelp home page GithubHelp logo

web_joystick's Introduction

web_joystick

环境

  • mac
  • python3.6.2

usage

  • 使用virtualenv创建虚拟环境
  • 安装依赖:pip install -r requirements.txt
  • python main.py
  • 运行起来之后,点击chrome浏览器可看到界面

说明

examples/01-hello-world为脚手架

原理

Eel使用websocket来连接js与python,使它们可以双向通信

本质是cs架构

策略

目前该应用的数据流向是前端往后端发送信号(开始/结束录制,以及对应的视频时间),数据在后端打包发送到云平台

后端

使用asynchronous-python实现非阻塞模型

用的是Gevent

todo

  • 使用空格控制录制

Question

  • 需要一个管道负责数据吗 console

web_joystick's People

Contributors

wwj718 avatar

Watchers

James Cloos avatar  avatar code pande 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.