Skip to content

Latest commit

 

History

History
37 lines (31 loc) · 714 Bytes

README.md

File metadata and controls

37 lines (31 loc) · 714 Bytes

CameraDino

Play chrome dino with camera

This is a JUMP detection using optical flow.

Summary
Calculate the momentum using the optical flow. Momentum above the threshold, it is judged to be a jump.
Threshold is the average of the previous 50 frame momentum.

How To Play

  1. Chrominm address bar
chrome://dino/
  1. Excute python
python Game.py
  1. Focus Chrome dino game page

Demo

Raspberry Pi 4

Intel laptop

Dependencies

python3

OpenCV
pynput

Chorme