How I Played The Chrome-Dino Game With Just My Palm

What do we see on Chrome when there is no internet connection? The classic Chrome Dinosaur Game: T-Rex Runner Game (aka the No Internet Game)! Simply press the space bar and the dinosaur will start running. Press the arrow-up key to make the dinosaur jump; the longer you press the key, the higher it jumps. Every single one of us must’ve played this game at least once. Has it ever crossed your mind that you can play this very game using just your palm? To me, it has!  Here’s how I played the Chrome-Dino game with just my palm! Is it possible, you may ask? It is very much possible with a special Python module named PyAutoGUI. What libraries did I use? NumPy (a Python library)OpenCV (another Python library, focussing on real-time applications) and of course,PyAutoGUI  import numpy as npimport cv2import mathimport pyautogui How did I do it? Open up the camera and draw a rectangleBlur the image and convert it into HSVErode, Dilate and ThresholdContour Ru
Subscribe or log in to Continue Reading

Uncompromising innovation. Timeless influence. Your support powers the future of independent tech journalism.

Already have an account? Sign In.

📣 Want to advertise in AIM? Book here

Picture of Srinija Dharani
Srinija Dharani
I’m a Computer Vision geek and I love to code! Alongside pursuing Computer Science Engineering at GITAM University Bangalore, I develop front-end websites for personal and professional uses. I also have deep interests in music and art.
Related Posts
AIM Print and TV
Don’t Miss the Next Big Shift in AI.
Get one year subscription for ₹5999
Download the easiest way to
stay informed