FeiGeChuanShu / ncnn_nanodet_hand

Android hand detect and pose estimation by ncnn
93 stars 25 forks source link

如何判断左右手? #12

Closed duoduo888999 closed 1 year ago

duoduo888999 commented 1 year ago

代码中没有体现左右手的判断。 请问是通过大拇指的位置来判断左右手的吗

FeiGeChuanShu commented 1 year ago

代码中没有体现左右手的判断。 请问是通过大拇指的位置来判断左右手的吗

https://github.com/FeiGeChuanShu/ncnn_nanodet_hand/blob/main/ncnn-yolox-hand/app/src/main/jni/landmark.cpp#L85

https://github.com/FeiGeChuanShu/ncnn_nanodet_hand/blob/main/ncnn-android-nanodet/app/src/main/jni/nanodet.cpp#L470 通过这个score判断 是个二分类 具体是哪个手自己测一下吧

duoduo888999 commented 1 year ago

谢谢!已判断出左右手