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

怎么在保证一定清晰度的情况下输出更小尺寸的500w像素图片,ov5640。 #458

Closed
wuliduben opened this issue Sep 28, 2022 · 7 comments

Comments

@wuliduben
Copy link

No description provided.

@wuliduben
Copy link
Author

降低质量后,图片尺寸并没显著减小,且色彩失真明显。

@WangYuxin-esp
Copy link
Contributor

OV5640 的 quality 参数设置为 10 和 50 的差异是有的,色彩失真全因 sensor 的品质问题。ESP32 只是取图,不负责图像质量问题。

@wuliduben
Copy link
Author

请问怎么设置才能保证图片尺寸尽可能小,同时画质还过得去?

@WangYuxin-esp
Copy link
Contributor

分辨率合理的设置小些,quality 设置大一点,在这些改动下采集图片多次评估。

@wuliduben
Copy link
Author

额,如果保持500w像素,就没法了么?esp32可以用来压缩图片么?

@WangYuxin-esp
Copy link
Contributor

压缩的过程是 sensor 完全控制的。ESP32 只是配置 sensor,从 sensor 接收数据。JPEG 是个标准的存在,不减小分辨率的情况下,相同的压缩率,不同的平台产生的size 和 图片质量是相当的。不同的 JPEG 版本或许有些许差异。

@github-actions
Copy link

This issue appears to be stale. Please close it if its no longer valid.

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

No branches or pull requests

2 participants