{"id":19219164,"url":"https://github.com/ssarcandy/usfb-with-cv","last_synced_at":"2025-10-11T07:43:56.037Z","repository":{"id":83110684,"uuid":"47883936","full_name":"SSARCandy/USFB-with-CV","owner":"SSARCandy","description":"use background subtraction to detect user action","archived":false,"fork":false,"pushed_at":"2016-07-08T12:51:42.000Z","size":28143,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-26T02:39:14.873Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://ssarcandy.tw/USFB-with-CV/","language":"C++","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/SSARCandy.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":"2015-12-12T15:45:49.000Z","updated_at":"2016-07-08T12:51:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"a70545f7-641d-47fd-a196-5cbeb3f525b7","html_url":"https://github.com/SSARCandy/USFB-with-CV","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SSARCandy/USFB-with-CV","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SSARCandy%2FUSFB-with-CV","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SSARCandy%2FUSFB-with-CV/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SSARCandy%2FUSFB-with-CV/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SSARCandy%2FUSFB-with-CV/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SSARCandy","download_url":"https://codeload.github.com/SSARCandy/USFB-with-CV/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SSARCandy%2FUSFB-with-CV/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279006629,"owners_count":26084132,"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","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-09T14:29:46.280Z","updated_at":"2025-10-11T07:43:55.972Z","avatar_url":"https://github.com/SSARCandy.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# USFB with CV\n### A simple 2D game integrated with openCV webcam input\n\n--\n\n#### Ref\nOrigin game fork from my another [repo](https://github.com/SSARCandy/Ultimate-Shooting-Flappy-Bird).  \nIn this repo, I modify the game goal to have better fit with CV input.\n\n#### Build\n - Required:\n   - openCV\n   - openGL\n   - glut\n - for Mac:\n   1. use CMake (min ver3.0) -\u003e choose `xcode`\n   2. move `images/` to build directory  \n   3. add `openGL.framework`, `glut.framework` and core lib of `opencv` (usually will at `/usr/local/lib`)\n - for Windows:\n   1. use Cmake -\u003e choose `VisualStudio `\n   2. move `images/` to build directory\n   3. set `USFB` as startup project\n\n#### Game Intro：\nYou will controll a yellow flappy-bird  \nThe goal of this game is to keep dodging the enemies birds, try to live as long as possible.   \nThe gameScore will +1 when you dodge an enemy bird.  \n\n#### Control：\n - With Keyboard:\n    - START: `SPACE`\n    - UP: `W`, `w`\n    - DOWN: `S`, `s`\n - With webcam(CV):\n    - UP: `Move your hand to top area`\n    - DOWN: `Move your hand to bottom area`\n\n\n#### ScreenShot\n![img](https://raw.githubusercontent.com/SSARCandy/USFB-with-CV/master/demo/demo1.JPG)\n![img](https://raw.githubusercontent.com/SSARCandy/USFB-with-CV/master/demo/demo2.JPG)\n\n\nTag: openGL, glut, 2D game, flappy bird, openCV, background-subtraction\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fssarcandy%2Fusfb-with-cv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fssarcandy%2Fusfb-with-cv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fssarcandy%2Fusfb-with-cv/lists"}