ok, nice work as far as a quick little coding project goes, but none of those pushups were legal reps. you need your chest to touch the ground and when you go up your whole body besides your arms needs to rigid.
Youre being downvoted but yeah those reps were not proper form. But hey man do push-ups at whatever your fitness level! Author is gonna injure themselves if they keep doing push ups like that though
Thank you. Totally agree and 100% support scaling, but there's a right way and a wrong way to do it. The most basic scale would be to go from your knees instead of toes *while maintaining a rigid core* but there's a huge variety of other options too.
Whether the OP is doing push-ups correctly is irrelevant. Whather the programm can detect these faults you are seeing is much more interesting though. That's the sole purpose of the programm, right?