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

改善格式支持 #8

Open
tumuyan opened this issue Jun 11, 2022 · 0 comments
Open

改善格式支持 #8

tumuyan opened this issue Jun 11, 2022 · 0 comments

Comments

@tumuyan
Copy link
Owner

tumuyan commented Jun 11, 2022

目前主要依赖nihui大佬的一系列ncnn超分项目,原项目只支持jpg bmp webp png四种格式的输入输出。
本项目没有修改原项目对格式的支持,通过前处理-超分-后处理的方式适配更多格式。
其中前处理heif格式输入使用Android自身API预处理为png,其他使用magick(Android端magick支持格式有限)。
ncnn输出结果统一为png。

这涉及了几个问题:

  1. 动图输入,输出一定是静态图片
  2. 效率损失
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