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

mac ncnn和android ncnn 的 from_pixels_resize方法后,差异较大 #5218

Closed
minushuang opened this issue Dec 12, 2023 · 3 comments
Closed

Comments

@minushuang
Copy link

在mac上,使用opencv读取本地一张图im1,经过ncnn的from_pixels_resize后的值 im_ncnn_1。
在android上,使用opencv读取本地一张图im2,经过ncnn的from_pixels_resize后的值 im_ncnn_2。
发现pc和手机上,opencv读出来的im1和im2都是一样的,但经过from_pixels_resize后的 im_ncnn_1 和 im_ncnn_2则出现了差异。
想问下,移动端和pc端from_pixels_resize实现方法不一样吗?

@nihui
Copy link
Member

nihui commented Dec 12, 2023

用 bmp 图片试试?

@nihui
Copy link
Member

nihui commented Mar 28, 2024

#5390

@minushuang
Copy link
Author

#5263 问题重复,close了

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

2 participants