Skip to content

SHSongs/CameraDino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages