{"id":21040987,"url":"https://github.com/chfoo/tppip","last_synced_at":"2025-03-13T21:23:59.429Z","repository":{"id":145909869,"uuid":"52845791","full_name":"chfoo/tppip","owner":"chfoo","description":"Twitch Plays Pokemon Image Processing Scripts","archived":false,"fork":false,"pushed_at":"2016-04-17T19:23:31.000Z","size":10607,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-23T12:37:27.281Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chfoo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-03-01T03:41:04.000Z","updated_at":"2016-03-03T01:22:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"a7c6caaf-64bb-4c0e-b5b3-b8e4b0e95464","html_url":"https://github.com/chfoo/tppip","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/chfoo%2Ftppip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chfoo%2Ftppip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chfoo%2Ftppip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chfoo%2Ftppip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chfoo","download_url":"https://codeload.github.com/chfoo/tppip/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243483174,"owners_count":20297949,"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":[],"created_at":"2024-11-19T13:49:34.801Z","updated_at":"2025-03-13T21:23:59.418Z","avatar_url":"https://github.com/chfoo.png","language":"Python","readme":"# tppip\nTwitch Plays Pokemon Image Processing Scripts\n\n## Quick Start\n\nRequirements\n\n* Python 3.4+\n* Pillow (PIL fork)\n\n### Token Analysis\n\nRunning:\n\n        python3 -m tppip.tokenanalyze\n\n\nWill output something like:\n\n        {\n          \"buttons\": {\n            \"a\": {\n              \"pixel_diff_max\": 0.0,\n              \"pixel_diff_mean\": 0.0,\n              \"row\": 0,\n              \"token_detected\": false\n            },\n            \"b\": {\n              \"pixel_diff_max\": 0.0,\n              \"pixel_diff_mean\": 0.0,\n              \"row\": 1,\n              \"token_detected\": false\n            },\n            \"down\": {\n              \"pixel_diff_max\": 0.0,\n              \"pixel_diff_mean\": 0.0,\n              \"row\": 3,\n              \"token_detected\": false\n            },\n            [...]\n            \"select\": {\n              \"pixel_diff_max\": 255.0,\n              \"pixel_diff_mean\": 112.78571428571429,\n              \"row\": 7,\n              \"token_detected\": true\n            }\n          },\n          \"filename\": \"/tmp/tmp7g3hs5sv-tppip/1456803062.png\"\n        }\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchfoo%2Ftppip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchfoo%2Ftppip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchfoo%2Ftppip/lists"}