A Python program to watch and store Mario Kart 8 Deluxe Games
Find a file
2024-06-10 13:10:33 +09:00
src changed params to fit style of other procedures 2024-06-09 05:45:19 +09:00
.gitignore restructure 2024-06-08 11:19:56 +09:00
initdb.sh fixed issue where non-binary images where in dataset at the cost of .bmp increasing the size by 2. Made it so id.py prevents their future inclusion. 2024-06-08 13:41:53 +09:00
installdeps.sh added graphs! 2024-06-08 15:05:44 +09:00
LICENSE V2 2022-01-05 06:14:03 -05:00
README.md I added my presentation to the readme 2024-06-10 13:10:33 +09:00
requirements.txt V3 Pre-release 2024-06-08 08:28:47 +09:00

Mario-Kart-Stream-Analyzer

By Caroline Marceano

A python script that watches Mario Kart footage, and outputs rank data

Presentation

I made a presentation on this project.

https://www.youtube.com/watch?v=1mWTM_Ow5Uc

It covers specifically the machine learning aspect, in detail.

If you're here from that, and you wanna checkout the code I was talking about

You can find it in /src/lib/compile.py

Like this project and want to run it in your browser?

I've created a colab so you can run it ANYWHERE!

https://colab.research.google.com/drive/1LnJavpTZ4FaFDdSzeWXjakbTRBiH0vnD?usp=sharing

Version 3.0 notes:

1. Everything is now running in sqlite
2. Extreme dataset improvement
3. Completely restructured project
4. Removed stats.py (you're gonna have to use SQL for now)
5. Added recompilation, all videos are stored in very compressed archives (see /src/lib/dbtools, /src/db/schema/schema.sql)
6. Debug graphs 

Currently twitch doesn't work.

Getting Started

#Only works on Ubuntu, Debian and, arch, otherwise install the dependencies manually: pip, sqlite3, tesseract, ffmpeg
./installdeps.sh
pip install -r requirements.txt
cd src 
#extracts model data
tar -xf id.tar.gz
# generates models
python3 id.py
#generates data
#Enable debug manually in /src/lib/compile.py if you want a debug output!
python3 streamget.py https://www.youtube.com/watch?v=VoupVr5sBNU
python3 show_graphs.py simple 2 1
#if debug: python3 show_graphs.py debug 2 1

Future?

I'm working on a presentation.