KornilovaK / NEURO-fest

MIT License
0 stars 0 forks source link

Mediapipe has a slow performance on android #1

Open jsaon-L opened 2 years ago

jsaon-L commented 2 years ago

Hi, I have the same problem as you, have you solved it now? Also I built the apk using another library and I feel like the frame rate is all up to 30fps(xiaomi mix4) Do you want to test this apk?

https://github.com/homuler/MediaPipeUnityPlugin

KornilovaK commented 2 years ago

No, the problem is still here. Yeah, It would be great.

jsaon-L commented 2 years ago

you want test what solution? hand?

KornilovaK commented 2 years ago

yes

KornilovaK commented 2 years ago

if it works, you'll safe my life

jsaon-L commented 2 years ago

https://drive.google.com/file/d/1jNLmDVGAMv6G2_WbX2pp5z9_aaDjaABJ/view?usp=sharing

KornilovaK commented 2 years ago

Unfortunately, that doesn't work for me. But thank you!

jsaon-L commented 2 years ago

restart

KornilovaK commented 2 years ago

i see only grey background and in the errors InvalidOperationException, in spite of i permitted the access the camera

jsaon-L commented 2 years ago

c14e4274887316f9dde3d8df77cc3e3

KornilovaK commented 2 years ago

🤷‍♀️

KornilovaK commented 2 years ago

but that looks really cool

jsaon-L commented 2 years ago

show me you console error

KornilovaK commented 2 years ago

0UeaPVqp_AA 400bF-E1xKI i'm not sure, it'll help me much. I need to read coordinates of these 21 hand points so detect sign language by tf model

jsaon-L commented 2 years ago

You do not have consent to access the camera yes you will get 21 hand points

KornilovaK commented 2 years ago

ok, now it works... i haven't done anything additional. and it still performs slowly. perhaps there is a problem with my devise

https://user-images.githubusercontent.com/86467512/184077883-9c81e8b4-2f3a-4ac6-afe7-0cb5e23283c4.mp4

jsaon-L commented 2 years ago

try async image

KornilovaK commented 2 years ago

wow, much better. it works almost perfect

KornilovaK commented 2 years ago

how have you achieved that?

jsaon-L commented 2 years ago

Can you tell me your device model and the fpx when there is a hand in the camera after it is turned on by default

jsaon-L commented 2 years ago

i just build this project https://github.com/homuler/MediaPipeUnityPlugin

jsaon-L commented 2 years ago

If you also want to use this project I'd be happy to share my experience

KornilovaK commented 2 years ago

Can you tell me your device model and the fpx when there is a hand in the camera after it is turned on by default

so well, i change parameters and it shows about 25 fps. Then i quit the apk and restart it, it's 10 fps

KornilovaK commented 2 years ago

If you also want to use this project I'd be happy to share my experience

Yes, sounds great!

jsaon-L commented 2 years ago

do you have WeChat or whatever you like

KornilovaK commented 2 years ago

i haven't used it earlier, but why not

jsaon-L commented 2 years ago

That's great

KornilovaK commented 2 years ago

okay, it seems like you should skan my qr code to allow me registration

jsaon-L commented 2 years ago

yes share you QR code

jsaon-L commented 2 years ago

The QR code has expired, please ask the other party to re-apply for registration

QR code is not available

jsaon-L commented 2 years ago

ok

jsaon-L commented 2 years ago

recieved wechat message?

KornilovaK commented 2 years ago

no, i don't think so

KornilovaK commented 2 years ago

maybe lets try anywhere else?

jsaon-L commented 2 years ago

do you have discord

KornilovaK commented 2 years ago

of course