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

extract Hair segementation mask #1853

Closed
zhaoqilong3031 opened this issue Apr 7, 2021 · 5 comments
Closed

extract Hair segementation mask #1853

zhaoqilong3031 opened this issue Apr 7, 2021 · 5 comments
Assignees
Labels
legacy:hair segmentation Hair Segmentation related issues platform:android Issues with Android as Platform type:support General questions

Comments

@zhaoqilong3031
Copy link

my android code
processor.addPacketCallback( "hair_mask", (packet) -> { try { byte[] landmarksRaw = PacketGetter.getProtoBytes(packet); } catch (Exception e) { Log.e(TAG, "Couldn't Exception received - " , e); } });

app exit,
What should I do?

@sgowroji sgowroji self-assigned this Apr 7, 2021
@sgowroji sgowroji added platform:android Issues with Android as Platform legacy:hair segmentation Hair Segmentation related issues stat:awaiting response Waiting for user response type:support General questions labels Apr 7, 2021
@sgowroji
Copy link

sgowroji commented Apr 7, 2021

Hi @zhaoqilong3031, Please share your error logs. And also the code repo to understand it much better. Thanks!

@zhaoqilong3031
Copy link
Author

android log
Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 9920 (Thread-9), pid 9764 (acedetectionapp)
link
Can I get the mask through this “output_stream: "MASK:hair_mask"”

@sgowroji sgowroji assigned mcclanahoochie and unassigned sgowroji Apr 8, 2021
@sgowroji sgowroji added stat:awaiting googler Waiting for Google Engineer's Response and removed stat:awaiting response Waiting for user response labels Apr 8, 2021
@ZhAnGeek
Copy link

ZhAnGeek commented Apr 12, 2021

I have a same problem but related to my customized protobuf, I checked many times for my parser still not ok
04-12 23:19:20.106 30201 30267 W MainActivity: Received anchor packet
04-12 23:19:20.108 30201 30267 E libc++abi: terminating with uncaught exception of type absl::lts_2020_09_23::BadStatusOrAccess: Bad StatusOr access
--------- beginning of crash
04-12 23:19:20.108 30201 30267 F libc : Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 30267 (Thread-5), pid 30201 (tmotiontracking)

@zhaoqilong3031
Copy link
Author

node {
calculator: "GpuBufferToImageFrameCalculator"
input_stream: "hair_mask"
output_stream: "hair_mask_cpu"
}

@sgowroji sgowroji removed the stat:awaiting googler Waiting for Google Engineer's Response label Apr 16, 2021
@arijith96
Copy link

Hi @zhaoqilong3031
Could you please elaborate more on your commend and how you resolved it? What went wrong in your approach?

Thanks in advance :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
legacy:hair segmentation Hair Segmentation related issues platform:android Issues with Android as Platform type:support General questions
Projects
None yet
Development

No branches or pull requests

5 participants