-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
如何生成ground truth? #4
Comments
刚才又去看了下代码,发现是除以8以后的1个像素,那对应回原图大概两边加起来就是16?不知道这样理解对不对? |
Yes, I followed the original code https://github.com/CMU-Perceptual-Computing-Lab/caffe_train/blob/master/src/caffe/cpm_data_transformer.cpp#L1106. But I don't know if there is a better way. I checked the generated paf in some images. Some are not good, maybe because the human size varies.
|
@dragonfly90 Thanks for you reply. |
您好
我想请问下如何生成PAF的ground truth
在论文中,如何判断一个点是否在limb上,有一个参数是控制
垂直方向的距离的,但是没有明确说是多少。
我在你的这个函数
putVecMaps
里看到了一个阈值1如果我理解不错的话
dist = np.absolute(ba_x * bc_y - ba_y * bc_x)
计算的是垂直方向的距离。
那么阈值只有1个像素点不是会很小吗?还是我的理解有问题。
谢谢!!
The text was updated successfully, but these errors were encountered: