git clone https://github.com/pion/mediadevices.git
Run cd mediadevices/examples/facedetection && go build && ./facedetection
You should be able to see some loggings when it can see faces.
Congrats, you have used pion-MediaDevices! Now start building something cool