Skip to content
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

关于P-Net检测的疑问 #5

Open
oftenliu opened this issue Apr 23, 2018 · 0 comments
Open

关于P-Net检测的疑问 #5

oftenliu opened this issue Apr 23, 2018 · 0 comments

Comments

@oftenliu
Copy link

请教P-Net检测:输入经resize后的图片检测成功后,需将得到的box坐标还原至原图上,这个操作中乘上stride是什末意思 ?
代码如下
boundingbox = np.vstack([np.round((self.stride * t_index[1]) / scale),
np.round((self.stride * t_index[0]) / scale),
np.round((self.stride * t_index[1] + cellsize) / scale),
np.round((self.stride * t_index[0] + cellsize) / scale),
score,
reg])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant