{"id":16520024,"url":"https://github.com/pageauc/hotspot-game","last_synced_at":"2026-04-12T06:35:48.717Z","repository":{"id":74954778,"uuid":"70590103","full_name":"pageauc/hotspot-game","owner":"pageauc","description":"A Windows, Unix or Raspberry Pi Computer Motion Tracking Game using a Web Cam or RPI Camera Video Streaming.  Uses Body Motion for Menus and Game Play for One or Two Players..  Get High Score by getting most motion hits in moving boxes that get smaller..","archived":false,"fork":false,"pushed_at":"2017-08-24T21:47:42.000Z","size":24,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-13T10:31:30.754Z","etag":null,"topics":["body-motion","debian","hotspot","hotspot-game","motion","motion-activated-menus","motion-tracking-game","opencv","pi-camera","python","raspberry-pi","rpi","unix","video-stream","web-camera","windows"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pageauc.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-10-11T12:17:19.000Z","updated_at":"2024-01-12T18:24:17.000Z","dependencies_parsed_at":"2023-07-25T20:31:30.419Z","dependency_job_id":null,"html_url":"https://github.com/pageauc/hotspot-game","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pageauc%2Fhotspot-game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pageauc%2Fhotspot-game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pageauc%2Fhotspot-game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pageauc%2Fhotspot-game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pageauc","download_url":"https://codeload.github.com/pageauc/hotspot-game/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241587916,"owners_count":19986627,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["body-motion","debian","hotspot","hotspot-game","motion","motion-activated-menus","motion-tracking-game","opencv","pi-camera","python","raspberry-pi","rpi","unix","video-stream","web-camera","windows"],"created_at":"2024-10-11T16:49:15.700Z","updated_at":"2026-04-12T06:35:43.660Z","avatar_url":"https://github.com/pageauc.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hotspot-game.py - MOTION TRACKING GAME\n### A Windows, Unix or Raspberry Pi opencv, python, Motion Tracking Game\n### using a USB Web Camera or pi-camera Module (RPI Only)\n\n## Reference Information\n* hotspot-game YouTube video here https://youtu.be/xFl3lmbEO9Y\n* RPI Forum post here https://www.raspberrypi.org/forums/viewtopic.php?p=1026124#p1026124\n* motion-track YouTube video here using RPI B2 https://youtu.be/09JS7twPBsQ\n* github repo here https://github.com/pageauc/hotspot-game\n\n## Quick Install\nFor easy hotspot-game install onto a Debian or Raspberry Pi computer. \n\n    curl -L https://raw.github.com/pageauc/hotspot-game/master/hotspot-install.sh | bash\n\nFrom a computer logged into the RPI via ssh(Putty) session use mouse to highlight command above, right click, copy.  \nThen select ssh(Putty) window, mouse right click, paste.  The command should \ndownload and execute the github hotspot-install.sh script for hotspot-game\n\n## Manual install\n\n    cd ~\n    wget https://raw.github.com/pageauc/hotspot-game/master/hotspot-install.sh\n    chmod +x hotspot-install.sh\n    ./hotspot-install.sh\n\nThis will install required files into a folder called ~/hotspot-game.    \n\n* IMPORTANT - hotspot-install.sh will perform a raspbian update and upgrade that \ncould take a while.  Reboot if there are significant changes.\n\n## Windows or Non RPI Unix Installs\nFor Windows or Unix computer platforms (non RPI or Debian) ensure you have the most\nup-to-date python version.  For Downloads visit https://www.python.org/downloads    \n\nThe latest python versions include numpy and recent opencv that is required to run this code. \nYou will also need a USB web cam installed and working. \nTo install this program access the GitHub project page at   \nhttps://raw.github.com/pageauc/hotspot-game   \nand select the green Clone or download zip option. The files will be cloned or zipped\nto a cam-track folder. You can run the code from console, gui desktop or \nfrom python IDLE application.    \n            \nSee How to Run Program section below for details on running hotspot-game.py\n    \n## Program Description\nThis is a Windows, Unix or Raspberry pi computer opencv (computer vision)\nmotion tracking game.\nIt is written in python and uses opencv and a camera video stream running\nin a threaded to detect and track motion. Motion is tracked and\nactivates menu's and game play using body motion. Can be played by one or two\nplayers and high score is saved. \n\nThe game play involves using body motion to get as many hits as possible\ninside shrinking boxes that randomly move around the screen. Position the camera\nso you can see body motions either close or standing. Pretty simple\nbut I think kids would have fun with it and they just might take a look at the \ncode to see how it works, change variables or game logic.\n\n## Hardware Requirements\n* USB Web Camera or pi-camera module connected and working.\n* Computer monitor or HD Television needs to be connected via an HDMI cable (composite\nvideo not tested) or a VGA adapter. \n\nThe program is run from the computers GUI desktop in an opencv window.\nThe default 640x480 window can be resized using the WINDOW_BIGGER resize multiplier variable.\nUse a text editor to change config.py settings.\n\n## How to Run Program    \nTo launch program make sure camera and video display are connected. You must\nbe in a RPI desktop GUI session.  Open a desktop terminal session, File Manger.\nor Menu Programming, Python2 (IDLE). Navigate to the hotspot-game folder and\nexecute \n\n    cd ~/hotspot-game\n    ./hotspot-game.py\n\n### or\n    \n    cd ~/hotspot-game\n    python ./hotspot-game.py\n    \n## Settings\n\nVariable values are stored in the config.py file. Use the nano editor to\nmodify these settings per the comments.  Most settings should be OK and will\nnot need to be changed.  You may need to flip the camera image to suit your\ncamera module orientation. Others like game settings may need to be fine tuned.  \nMost openCV settings will not need changing unless you are familiar with them.\nMake a backup of the config.py file if you want to experiment.  This will\nallow you to return to previous known good settings or you can just download\ndefault config.py again using the hotspot-install.sh script \n\n## Credits\nSome of this code is based on a YouTube tutorial by\nKyle Hounslow using C here https://www.youtube.com/watch?v=X6rPdRZzgjg\n\nThanks to Adrian Rosebrock jrosebr1 at http://www.pyimagesearch.com \nfor the PiVideoStream Class code available on github at\nhttps://github.com/jrosebr1/imutils/blob/master/imutils/video/pivideostream.py\n\nHave Fun\n\nClaude Pageau\n\nYouTube Channel https://www.youtube.com/user/pageaucp  \nGitHub https://github.com/pageauc\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpageauc%2Fhotspot-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpageauc%2Fhotspot-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpageauc%2Fhotspot-game/lists"}