Do read this article by Pui Kwan HO on how to use Amazon Rekognition Custom Labels to record the AWS DeepRacer performance in physical racing.
The Article is available on LinkedIn.
The source code is available on GitHub, not sure on the licensing though.
Demo: