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

[BUG] 任何一张其他的图片都会在这里报错,是图片格式问题吗,图片美颜功能在iOS上无法使用 #79

Open
SG-XM opened this issue Jul 1, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@SG-XM
Copy link

SG-XM commented Jul 1, 2024

sample_face
9ca2bf9e-f9b6-41de-b1cc-a4408c1ec745
VNN_Apply_Face_CPU 函数报错,在SourceImage create中我跟踪进入,发现图片原始channel count确实是3,不是4,但是这是否会对VNN造成影响?因为我不太熟悉VNN,实在无法解决这个问题。
我尝试过用同名png替换项目内的sample_face.png文件仍然存在问题。
我使用在线工具对项目内的sample_face.png进行裁剪,放回项目内依旧没有问题,故而排除了像素问题。
但我不知道下一步该怎么办,我尝试修改stbi_load让他强制加载4通道,但是似乎没有用,而且还会影响GL纹理绑定。

@SG-XM SG-XM added the bug Something isn't working label Jul 1, 2024
@SG-XM
Copy link
Author

SG-XM commented Jul 1, 2024

85365744-6938-4a72-ade4-4acc7b3ac549
我不知道如何解决这个问题,因为我也没有在VNN的库中搜索到相关内容,且无法继续跟入VNN内部

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant