对于android应用程序,我想在上传之前检查图像的质量,比如说,给它一个分数,然后根据这个分数接受它。可能与此无关,但我确实阅读了以下内容:
形象美学评价
https://www.codementor.io/kushwahamit2016/image-aesthetic-assessment-a0a3etnhk谷歌的新AI可以在技术和美学质量上对照片进行评分
https://petapixel.com/2017/12/26/googles-new-ai-can-score-photos-technical-aesthetic-quality/
使用Python进行基本图像数据分析:第1部分
https://dzone.com/articles/image-data-analysis-using-numpy-amp-opencv
但是我有兴趣知道是否有任何库(可以在移动设备上运行,如果没有的话,可以在firebase-ml-kit或任何其他工具包中找到)。
需要澄清的图片:

发布于 2018-12-28 00:03:28
如果您指的是质量分辨率,您可以按如下方式进行检查。
Bitmap bmp;
//....
//load your bitmap to bmp
//....
int width, height;
width = bmp.getWidth();
height = bmp.getHeight();https://stackoverflow.com/questions/53947670
复制相似问题