By almost ready I mean it gave me a slightly broken code on the first run, but, since I don't know Python+OpenCV that much, I just copy-pasted the error message back into ChatGPT, and it fixed the code on its own. I'm just a useless copy-paste interface for two programs :|