{"id":19936110,"url":"https://github.com/proafxin/tdm-tracker","last_synced_at":"2026-05-01T21:02:09.215Z","repository":{"id":246983940,"uuid":"822812447","full_name":"proafxin/tdm-tracker","owner":"proafxin","description":"Extract stats from scoreboard screenshots","archived":false,"fork":false,"pushed_at":"2024-10-07T21:21:56.000Z","size":1035,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-03-01T12:20:40.730Z","etag":null,"topics":["django","django-ninja","easyocr","ocr","poetry","python","sqlite3","tox"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/proafxin.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":"2024-07-01T22:02:49.000Z","updated_at":"2024-09-25T00:01:14.000Z","dependencies_parsed_at":"2024-07-06T02:57:11.038Z","dependency_job_id":"a51df97f-01c7-4e57-bd63-1457de5b070a","html_url":"https://github.com/proafxin/tdm-tracker","commit_stats":null,"previous_names":["proafxin/statracking","proafxin/tdm-tracker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/proafxin/tdm-tracker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/proafxin%2Ftdm-tracker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/proafxin%2Ftdm-tracker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/proafxin%2Ftdm-tracker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/proafxin%2Ftdm-tracker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/proafxin","download_url":"https://codeload.github.com/proafxin/tdm-tracker/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/proafxin%2Ftdm-tracker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32512670,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["django","django-ninja","easyocr","ocr","poetry","python","sqlite3","tox"],"created_at":"2024-11-12T23:23:38.429Z","updated_at":"2026-05-01T21:02:09.174Z","avatar_url":"https://github.com/proafxin.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PUBG TDM Tracker\n\n[![Build and test with Tox](https://github.com/proafxin/tdm-tracker/actions/workflows/ci.yaml/badge.svg)](https://github.com/proafxin/tdm-tracker/actions/workflows/ci.yaml)\n[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/proafxin/statracking/develop.svg)](https://results.pre-commit.ci/latest/github/proafxin/statracking/develop)\n\nPUBG does not keep track of TDM stats. This tool lets you upload screenshots of the final scoreboards and the scores will be saved in a sqlite database.\n\nAfter all the rounds are over, when the final results are shown, take a screenshot. The system works best for higher quality screenshots. Optimal resolution for most accurate results is 4k.\n\n## How to use locally\n\nOnly use it in linux systems with GPU support for [pytorch](https://pytorch.org/get-started/locally/). Steps to run the server:\n\n* Install poetry: `curl -sSL https://install.python-poetry.org | python3 -`\n* Install tox: `python3 -m pip install -U tox`\n* Run migrations: `python manage.py makemigrations` and `python manage.py migrate`\n* Run the server: `tox -e runserver`\n* Go to API docs: \u003chttp://127.0.0.1:8000/docs\u003e\n* Use the endpoint: `/game/pubg/stats`\n* Upload the screenshot of the final scoreboard (the scoreboard you are presented with after the game has ended, not the ones inbetween rounds).\n* Make sure the image is of decent quality.\n* You should see a `200 OK` response like the following:\n\n```json\n[\n  {\n    \"game_id\": 5,\n    \"name\": \"[PYK] PYK-KOONSHY\",\n    \"kill\": 29,\n    \"assist\": 4,\n    \"death\": 15,\n    \"point\": 4180,\n    \"created_at\": \"2024-07-06T09:10:44.425Z\",\n    \"updated_at\": \"2024-07-06T09:10:44.425Z\",\n    \"id\": 17\n  },\n  {\n    \"game_id\": 5,\n    \"name\": \"Esther-Blanchett\",\n    \"kill\": 34,\n    \"assist\": 1,\n    \"death\": 11,\n    \"point\": 4880,\n    \"created_at\": \"2024-07-06T09:10:44.427Z\",\n    \"updated_at\": \"2024-07-06T09:10:44.427Z\",\n    \"id\": 18\n  },\n  {\n    \"game_id\": 5,\n    \"name\": \"[VIE] GauhuonGxinhdep\",\n    \"kill\": 24,\n    \"assist\": 3,\n    \"death\": 21,\n    \"point\": 3550,\n    \"created_at\": \"2024-07-06T09:10:44.429Z\",\n    \"updated_at\": \"2024-07-06T09:10:44.429Z\",\n    \"id\": 19\n  },\n  {\n    \"game_id\": 5,\n    \"name\": \"55216\",\n    \"kill\": 30,\n    \"assist\": 3,\n    \"death\": 19,\n    \"point\": 4510,\n    \"created_at\": \"2024-07-06T09:10:44.430Z\",\n    \"updated_at\": \"2024-07-06T09:10:44.431Z\",\n    \"id\": 20\n  },\n  {\n    \"game_id\": 5,\n    \"name\": \"Pacman_123\",\n    \"kill\": 25,\n    \"assist\": 2,\n    \"death\": 17,\n    \"point\": 3620,\n    \"created_at\": \"2024-07-06T09:10:44.432Z\",\n    \"updated_at\": \"2024-07-06T09:10:44.432Z\",\n    \"id\": 21\n  },\n  {\n    \"game_id\": 5,\n    \"name\": \"[RL] Tej_93\",\n    \"kill\": 23,\n    \"assist\": 3,\n    \"death\": 21,\n    \"point\": 3740,\n    \"created_at\": \"2024-07-06T09:10:44.434Z\",\n    \"updated_at\": \"2024-07-06T09:10:44.434Z\",\n    \"id\": 22\n  },\n  {\n    \"game_id\": 5,\n    \"name\": \"sdasdasdsadweqw\",\n    \"kill\": 21,\n    \"assist\": 5,\n    \"death\": 19,\n    \"point\": 3350,\n    \"created_at\": \"2024-07-06T09:10:44.435Z\",\n    \"updated_at\": \"2024-07-06T09:10:44.436Z\",\n    \"id\": 23\n  },\n  {\n    \"game_id\": 5,\n    \"name\": \"ZXun-Du\",\n    \"kill\": 16,\n    \"assist\": 2,\n    \"death\": 16,\n    \"point\": 2970,\n    \"created_at\": \"2024-07-06T09:10:44.437Z\",\n    \"updated_at\": \"2024-07-06T09:10:44.437Z\",\n    \"id\": 24\n  },\n  {\n    \"game_id\": 5,\n    \"name\": \"Bii-Su-Jhin\",\n    \"kill\": 13,\n    \"assist\": 2,\n    \"death\": 28,\n    \"point\": 2360,\n    \"created_at\": \"2024-07-06T09:10:44.439Z\",\n    \"updated_at\": \"2024-07-06T09:10:44.439Z\",\n    \"id\": 25\n  },\n  {\n    \"game_id\": 5,\n    \"name\": \"JIngwei96\",\n    \"kill\": 10,\n    \"assist\": 5,\n    \"death\": 25,\n    \"point\": 2490,\n    \"created_at\": \"2024-07-06T09:10:44.440Z\",\n    \"updated_at\": \"2024-07-06T09:10:44.441Z\",\n    \"id\": 26\n  },\n  {\n    \"game_id\": 5,\n    \"name\": \"bot_killer_bot\",\n    \"kill\": 12,\n    \"assist\": 0,\n    \"death\": 12,\n    \"point\": 2130,\n    \"created_at\": \"2024-07-06T09:10:44.442Z\",\n    \"updated_at\": \"2024-07-06T09:10:44.442Z\",\n    \"id\": 27\n  },\n  {\n    \"game_id\": 5,\n    \"name\": \"Sixpeach6\",\n    \"kill\": 7,\n    \"assist\": 4,\n    \"death\": 18,\n    \"point\": 2140,\n    \"created_at\": \"2024-07-06T09:10:44.444Z\",\n    \"updated_at\": \"2024-07-06T09:10:44.444Z\",\n    \"id\": 28\n  },\n  {\n    \"game_id\": 5,\n    \"name\": \"bvhjhjgv/ca\",\n    \"kill\": 7,\n    \"assist\": 2,\n    \"death\": 14,\n    \"point\": 1720,\n    \"created_at\": \"2024-07-06T09:10:44.446Z\",\n    \"updated_at\": \"2024-07-06T09:10:44.446Z\",\n    \"id\": 29\n  }\n]\n```\n\n* To see the changes reflected in the database: install [DB browser for SQLITE](https://sqlitebrowser.org/) and open the file `db.sqlite3` from root directory.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproafxin%2Ftdm-tracker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fproafxin%2Ftdm-tracker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproafxin%2Ftdm-tracker/lists"}