Can Google Vision API detects the outline of face in an image?
I want to draw lines around face (including forehead) and cut that face out from the image. Can I use Google Vision API to realize my goal? I have tested Google Vision API to detect face in some images, and it only returns the bounding poly (the rectangle area) around the face, the landmarks and face expression. It cannot detects the coordinates of outline around face. How to do that with Vision API? If Vision API cannot do it, than what library should I use?
artificial-intelligence google-cloud-vision
add a comment |
I want to draw lines around face (including forehead) and cut that face out from the image. Can I use Google Vision API to realize my goal? I have tested Google Vision API to detect face in some images, and it only returns the bounding poly (the rectangle area) around the face, the landmarks and face expression. It cannot detects the coordinates of outline around face. How to do that with Vision API? If Vision API cannot do it, than what library should I use?
artificial-intelligence google-cloud-vision
Please at least take a look at the descriptions of the tags you're using. "ML" is a family of programming languages.
– molbdnilo
Nov 13 '18 at 7:25
add a comment |
I want to draw lines around face (including forehead) and cut that face out from the image. Can I use Google Vision API to realize my goal? I have tested Google Vision API to detect face in some images, and it only returns the bounding poly (the rectangle area) around the face, the landmarks and face expression. It cannot detects the coordinates of outline around face. How to do that with Vision API? If Vision API cannot do it, than what library should I use?
artificial-intelligence google-cloud-vision
I want to draw lines around face (including forehead) and cut that face out from the image. Can I use Google Vision API to realize my goal? I have tested Google Vision API to detect face in some images, and it only returns the bounding poly (the rectangle area) around the face, the landmarks and face expression. It cannot detects the coordinates of outline around face. How to do that with Vision API? If Vision API cannot do it, than what library should I use?
artificial-intelligence google-cloud-vision
artificial-intelligence google-cloud-vision
edited Nov 13 '18 at 7:42
Dana Prakoso
asked Nov 13 '18 at 7:13
Dana PrakosoDana Prakoso
213
213
Please at least take a look at the descriptions of the tags you're using. "ML" is a family of programming languages.
– molbdnilo
Nov 13 '18 at 7:25
add a comment |
Please at least take a look at the descriptions of the tags you're using. "ML" is a family of programming languages.
– molbdnilo
Nov 13 '18 at 7:25
Please at least take a look at the descriptions of the tags you're using. "ML" is a family of programming languages.
– molbdnilo
Nov 13 '18 at 7:25
Please at least take a look at the descriptions of the tags you're using. "ML" is a family of programming languages.
– molbdnilo
Nov 13 '18 at 7:25
add a comment |
1 Answer
1
active
oldest
votes
The Vision API service offers a Face Detection feature that can be used to detect multiple faces within an image along with the associated key facial attributes. Based on this, Vision API feature that fits the most to your current requirement is the usage of the fdBoundingPoly
. As mentioned in the official documentation:
The fdBoundingPoly bounding polygon is tighter than the boundingPoly,
and encloses only the skin part of the face. Typically, it is used to
eliminate the face from any image analysis that detects the "amount of
skin" visible in an image
I recommend you to check the FACE_DETECTION Responses example that you can use as a reference to know more about this functionality.
In case this feature doesn't cover your current needs, you can use the Send Feedback button, located at the lower left and upper right corners of the service public documentation, as well as take a look the Issue Tracker tool, in order to raise a Vision API feature request and notify to Google about this desired functionality.
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%2f53275683%2fcan-google-vision-api-detects-the-outline-of-face-in-an-image%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
The Vision API service offers a Face Detection feature that can be used to detect multiple faces within an image along with the associated key facial attributes. Based on this, Vision API feature that fits the most to your current requirement is the usage of the fdBoundingPoly
. As mentioned in the official documentation:
The fdBoundingPoly bounding polygon is tighter than the boundingPoly,
and encloses only the skin part of the face. Typically, it is used to
eliminate the face from any image analysis that detects the "amount of
skin" visible in an image
I recommend you to check the FACE_DETECTION Responses example that you can use as a reference to know more about this functionality.
In case this feature doesn't cover your current needs, you can use the Send Feedback button, located at the lower left and upper right corners of the service public documentation, as well as take a look the Issue Tracker tool, in order to raise a Vision API feature request and notify to Google about this desired functionality.
add a comment |
The Vision API service offers a Face Detection feature that can be used to detect multiple faces within an image along with the associated key facial attributes. Based on this, Vision API feature that fits the most to your current requirement is the usage of the fdBoundingPoly
. As mentioned in the official documentation:
The fdBoundingPoly bounding polygon is tighter than the boundingPoly,
and encloses only the skin part of the face. Typically, it is used to
eliminate the face from any image analysis that detects the "amount of
skin" visible in an image
I recommend you to check the FACE_DETECTION Responses example that you can use as a reference to know more about this functionality.
In case this feature doesn't cover your current needs, you can use the Send Feedback button, located at the lower left and upper right corners of the service public documentation, as well as take a look the Issue Tracker tool, in order to raise a Vision API feature request and notify to Google about this desired functionality.
add a comment |
The Vision API service offers a Face Detection feature that can be used to detect multiple faces within an image along with the associated key facial attributes. Based on this, Vision API feature that fits the most to your current requirement is the usage of the fdBoundingPoly
. As mentioned in the official documentation:
The fdBoundingPoly bounding polygon is tighter than the boundingPoly,
and encloses only the skin part of the face. Typically, it is used to
eliminate the face from any image analysis that detects the "amount of
skin" visible in an image
I recommend you to check the FACE_DETECTION Responses example that you can use as a reference to know more about this functionality.
In case this feature doesn't cover your current needs, you can use the Send Feedback button, located at the lower left and upper right corners of the service public documentation, as well as take a look the Issue Tracker tool, in order to raise a Vision API feature request and notify to Google about this desired functionality.
The Vision API service offers a Face Detection feature that can be used to detect multiple faces within an image along with the associated key facial attributes. Based on this, Vision API feature that fits the most to your current requirement is the usage of the fdBoundingPoly
. As mentioned in the official documentation:
The fdBoundingPoly bounding polygon is tighter than the boundingPoly,
and encloses only the skin part of the face. Typically, it is used to
eliminate the face from any image analysis that detects the "amount of
skin" visible in an image
I recommend you to check the FACE_DETECTION Responses example that you can use as a reference to know more about this functionality.
In case this feature doesn't cover your current needs, you can use the Send Feedback button, located at the lower left and upper right corners of the service public documentation, as well as take a look the Issue Tracker tool, in order to raise a Vision API feature request and notify to Google about this desired functionality.
answered Nov 13 '18 at 21:27
Armin_SCArmin_SC
96438
96438
add a comment |
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.
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%2f53275683%2fcan-google-vision-api-detects-the-outline-of-face-in-an-image%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
Please at least take a look at the descriptions of the tags you're using. "ML" is a family of programming languages.
– molbdnilo
Nov 13 '18 at 7:25