Uses the getUserMedia API to watch for hand swipes in front of the webcam to turn the pages of a book.
作者所寫的更多關於此 Demo 的資訊
This demo allows a user to make gestures in the air with their hand to fire events on the page. A browser with access to the webcam via the getUserMedia API is required. The example I created for the demo allows someone viewing a book to turn the pages of the book by swiping left or right in the air. Another use could be to flip through photos in a carousel.