Accuracy Function Python Example Using Rpi5