DigitRecognizer Model



I am a beginner in machine learning. I have a example project with a dataset like the following image.


I tried to train some existing modules with it, but unfortunately without any useful results.

Does anyone here have a useful tip as to which model would be best suited for this?