firebase ML kit Aesthetic photo Quality

Multi tool use
For an android application i would like to check quality of the image before uploading it lets say give it a score and accept it based on this score.
might not be relevant but i did read the following:
Image Aesthetic Assessment
https://www.codementor.io/kushwahamit2016/image-aesthetic-assessment-a0a3etnhk
Google’s New AI Can Score Photos on Technical and Aesthetic Quality
https://petapixel.com/2017/12/26/googles-new-ai-can-score-photos-technical-aesthetic-quality/
Basic Image Data Analysis Using Python: Part 1
https://dzone.com/articles/image-data-analysis-using-numpy-amp-opencv
but am interested to know if there is any library ( to run on the mobile it self if not is something we could find in firebase-ml-kit or any other kit )
best regards
photo for clarification:
enter image description here
android firebase-mlkit
add a comment |
For an android application i would like to check quality of the image before uploading it lets say give it a score and accept it based on this score.
might not be relevant but i did read the following:
Image Aesthetic Assessment
https://www.codementor.io/kushwahamit2016/image-aesthetic-assessment-a0a3etnhk
Google’s New AI Can Score Photos on Technical and Aesthetic Quality
https://petapixel.com/2017/12/26/googles-new-ai-can-score-photos-technical-aesthetic-quality/
Basic Image Data Analysis Using Python: Part 1
https://dzone.com/articles/image-data-analysis-using-numpy-amp-opencv
but am interested to know if there is any library ( to run on the mobile it self if not is something we could find in firebase-ml-kit or any other kit )
best regards
photo for clarification:
enter image description here
android firebase-mlkit
add a comment |
For an android application i would like to check quality of the image before uploading it lets say give it a score and accept it based on this score.
might not be relevant but i did read the following:
Image Aesthetic Assessment
https://www.codementor.io/kushwahamit2016/image-aesthetic-assessment-a0a3etnhk
Google’s New AI Can Score Photos on Technical and Aesthetic Quality
https://petapixel.com/2017/12/26/googles-new-ai-can-score-photos-technical-aesthetic-quality/
Basic Image Data Analysis Using Python: Part 1
https://dzone.com/articles/image-data-analysis-using-numpy-amp-opencv
but am interested to know if there is any library ( to run on the mobile it self if not is something we could find in firebase-ml-kit or any other kit )
best regards
photo for clarification:
enter image description here
android firebase-mlkit
For an android application i would like to check quality of the image before uploading it lets say give it a score and accept it based on this score.
might not be relevant but i did read the following:
Image Aesthetic Assessment
https://www.codementor.io/kushwahamit2016/image-aesthetic-assessment-a0a3etnhk
Google’s New AI Can Score Photos on Technical and Aesthetic Quality
https://petapixel.com/2017/12/26/googles-new-ai-can-score-photos-technical-aesthetic-quality/
Basic Image Data Analysis Using Python: Part 1
https://dzone.com/articles/image-data-analysis-using-numpy-amp-opencv
but am interested to know if there is any library ( to run on the mobile it self if not is something we could find in firebase-ml-kit or any other kit )
best regards
photo for clarification:
enter image description here
android firebase-mlkit
android firebase-mlkit
edited Dec 27 '18 at 19:54


Fantômas
32.3k156288
32.3k156288
asked Dec 27 '18 at 15:56


Hassan Khraibani
83
83
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
If you mean resolution by quality, you can check it as follows.
Bitmap bmp;
//....
//load your bitmap to bmp
//....
int width, height;
width = bmp.getWidth();
height = bmp.getHeight();
1
thank u, i mean checking the photo and give it a score based on which we can tell the user he'd rather change it .. i added a photo to the post to show what i mean thank u anyway
– Hassan Khraibani
Dec 27 '18 at 16:11
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53947670%2ffirebase-ml-kit-aesthetic-photo-quality%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
If you mean resolution by quality, you can check it as follows.
Bitmap bmp;
//....
//load your bitmap to bmp
//....
int width, height;
width = bmp.getWidth();
height = bmp.getHeight();
1
thank u, i mean checking the photo and give it a score based on which we can tell the user he'd rather change it .. i added a photo to the post to show what i mean thank u anyway
– Hassan Khraibani
Dec 27 '18 at 16:11
add a comment |
If you mean resolution by quality, you can check it as follows.
Bitmap bmp;
//....
//load your bitmap to bmp
//....
int width, height;
width = bmp.getWidth();
height = bmp.getHeight();
1
thank u, i mean checking the photo and give it a score based on which we can tell the user he'd rather change it .. i added a photo to the post to show what i mean thank u anyway
– Hassan Khraibani
Dec 27 '18 at 16:11
add a comment |
If you mean resolution by quality, you can check it as follows.
Bitmap bmp;
//....
//load your bitmap to bmp
//....
int width, height;
width = bmp.getWidth();
height = bmp.getHeight();
If you mean resolution by quality, you can check it as follows.
Bitmap bmp;
//....
//load your bitmap to bmp
//....
int width, height;
width = bmp.getWidth();
height = bmp.getHeight();
answered Dec 27 '18 at 16:03


Anees
4,23841045
4,23841045
1
thank u, i mean checking the photo and give it a score based on which we can tell the user he'd rather change it .. i added a photo to the post to show what i mean thank u anyway
– Hassan Khraibani
Dec 27 '18 at 16:11
add a comment |
1
thank u, i mean checking the photo and give it a score based on which we can tell the user he'd rather change it .. i added a photo to the post to show what i mean thank u anyway
– Hassan Khraibani
Dec 27 '18 at 16:11
1
1
thank u, i mean checking the photo and give it a score based on which we can tell the user he'd rather change it .. i added a photo to the post to show what i mean thank u anyway
– Hassan Khraibani
Dec 27 '18 at 16:11
thank u, i mean checking the photo and give it a score based on which we can tell the user he'd rather change it .. i added a photo to the post to show what i mean thank u anyway
– Hassan Khraibani
Dec 27 '18 at 16:11
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53947670%2ffirebase-ml-kit-aesthetic-photo-quality%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
VRAXKnyxoM,ZIOpzK6b 3 2UIeUHXQw6,MlA,6VyM,uiaR5nNKBMWKIbQ