-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
How to fill face rectangle (in face mesh) with transparent color? #2019
Comments
Hi @midhulavijayan, For your understanding #1743 (comment). |
Hi @midhulavijayan, Did you get a chance to go through the above #2019 (comment). Thanks |
Hi @sgowroji, i have gone through it. i couldn't find any solution from the mentioned comment. Could you please elaborate the steps to fill transparent color?. |
Check mediapipe/util/render_data.proto and you'll find FilledRectangle there. Simply modify the calculator to replace Rectangle with FilledRectangle should work. |
Assuming you are resolved with this comment. We are closing this issue now. |
Hello, I'm trying to fill the face rectangle with some transparency. I made the "filled" option as true to fill the color. Is there any way to give some transparency for the filled color (alpha blending)?
node {
calculator: "RectToRenderDataCalculator"
input_stream: "NORM_RECTS:rects"
output_stream: "RENDER_DATA:rects_render_data"
node_options: {
[type.googleapis.com/mediapipe.RectToRenderDataCalculatorOptions] {
filled: true
color { r: 255 g: 0 b: 0 }
thickness: 4.0
}
}
}
The text was updated successfully, but these errors were encountered: