hyeonukjeong / sistine

Turn a MacBook into a Touchscreen with $1 of Hardware

Home Page:https://www.anishathalye.com/2018/04/03/macbook-touchscreen/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Project Sistine

Sistine * 3/2

We turned a MacBook into a touchscreen using only $1 of hardware and a little bit of computer vision. The proof-of-concept, dubbed “Project Sistine” after our recreation of the famous painting in the Sistine Chapel, was prototyped by Anish Athalye, Kevin Kwok, Guillermo Webster, and Logan Engstrom in about 16 hours.

Basic Principle

The basic principle behind Sistine is simple. Surfaces viewed from an angle tend to look shiny, and you can tell if a finger is touching the surface by checking if it’s touching its own reflection.

Hover versus touch

Kevin, back in middle school, noticed this phenomenon and built ShinyTouch, utilizing an external webcam to build a touch input system requiring virtually no setup. We wanted to see if we could miniaturize the idea and make it work without an external webcam. Our idea was to retrofit a small mirror in front of a MacBook’s built-in webcam, so that the webcam would be looking down at the computer screen at a sharp angle. The camera would be able to see fingers hovering over or touching the screen, and we’d be able to translate the video feed into touch events using computer vision.

(Read the rest of our blog post, including a video demo and a high-level explanation of the algorithm, here)

Installation Instructions

  • Install OpenCV 3 using brew install opencv3 or whatever
  • Run sistine.py

More detailed instructions are coming soon!

About

Turn a MacBook into a Touchscreen with $1 of Hardware

https://www.anishathalye.com/2018/04/03/macbook-touchscreen/


Languages

Language:Python 92.7%Language:HTML 7.3%