Based on the sample at https://google.github.io/mediapipe/solutions/hands — that doesn't even sound all too complex.
As a matter of fact, lots of people over twitter have been sharing their frustration when they attempted to do the same thing.
This is the funniest one:
https://twitter.com/isjackwild/status/1617559339891396619
Here's some comments on my implementation:
https://twitter.com/SketchpunkLabs/status/161758661970323049...