TensorFlow_Lite_SSD_RPi_64-bits icon indicating copy to clipboard operation
TensorFlow_Lite_SSD_RPi_64-bits copied to clipboard

Best model/approach for detect hands in RPi-4

Open MyraBaba opened this issue 3 years ago • 6 comments

Hi,

We have a application to protect my friends hands . running on normal PC 25fps

what would be the best model and AI platform to detect hand like below to prevent accidents in RPi ? should be fast as possible as

Camera fixed up and see directly thx

Screen Shot 2022-07-25 at 17 27 57 Screen Shot 2022-07-25 at 17 28 27

MyraBaba avatar Jul 25 '22 14:07 MyraBaba

is this palm tflite model can work in this your program ?

https://github.com/google/mediapipe/tree/master/mediapipe/modules/palm_detection

MyraBaba avatar Jul 25 '22 15:07 MyraBaba

The mentioned tflite model (palm_detection_lite.tflite) can work in Pose detection. After some changes to the code of course. It will run at ~13 FPS. You could improve the inference times by porting the model to int8. Another (minor) improvement can be running the software on a Rpi without desktop.

Qengineering avatar Jul 26 '22 09:07 Qengineering

Thanks for direction.

edited model and 17 to 21 :) but nothing detected and drawing :)

at least not crashes but nothing drawing to screen.

need little help or will wait your hand detection example ..

Best

MyraBaba avatar Jul 26 '22 10:07 MyraBaba

@Qengineering Would you mind to show me directin which parts need to be changed ?

MyraBaba avatar Jul 26 '22 16:07 MyraBaba

I assume https://github.com/google/mediapipe/tree/master/mediapipe/modules/palm_detection with https://github.com/google/mediapipe/blob/master/mediapipe/modules/hand_landmark/hand_landmark_full.tflite

work together to draw fingers

found this also :

https://github.com/FeiGeChuanShu/ncnn_nanodet_hand

MyraBaba avatar Jul 26 '22 16:07 MyraBaba

Please see https://github.com/Qengineering/Hand-Pose-ncnn-Raspberry-Pi-4

Qengineering avatar Jul 27 '22 13:07 Qengineering