Coder Social home page Coder Social logo

yixiaoyx / lazytube2.0 Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 294 KB

Chrome extension that automatically controls Youtube playback depending on whether you are at the seat or not. Made by Random Cute Team during Facebook Hackthon 2017.

HTML 0.83% CSS 2.00% JavaScript 69.16% Python 23.84% Shell 4.17%

lazytube2.0's Introduction

Lazytube 2.0

Made by Sijian Deng, Sijia Chen, Yi Xiao and David Zhou during Facebook Hackathon 2017

Lazytube is a handy tool that intends to pause and resume video/music playbackfor you when you leave or return to your computer. It uses OpenCV for face recognition and works best with a front camera.

Version 2.0 is an improvement on Version 1.0. It is a Chrome extension specifically intended for controlling Youtube playback. It uses Chrome Native Messaging API to let the Python script in Version 1.0 and the Chrome extension talk to each other.

System prerequisite:

  • OpenCV2;
  • Currently compatible with OS X and Linux;

Usage:

  • Run host/install_host.sh in Terminal;
  • Load everything in chrome_ext into Chrome as an unpacked extension;
  • Wait a few seconds for the camera to start; if nothing happens, hit Reload;

New feature:

  • If you manually pause the video, it stays paused, i.e. your leaving and returning to seat will not toggle the video on;
  • Try laughing wholeheartedly towards the camera ... It knows whether you are truly happy or not :)

lazytube2.0's People

Contributors

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