mediapipe icon indicating copy to clipboard operation
mediapipe copied to clipboard

Does this Android sample support features like NNAPI and NumThreads?

Open libofei2004 opened this issue 1 year ago • 4 comments

The impact of NNAPI and NumThreads on performance is significant. I don't seem to find these two interfaces in the example; are they supported?

libofei2004 avatar Aug 03 '24 16:08 libofei2004

I want to say number of threads is supported in the options object, but NNAPI definitely isn't.

PaulTR avatar Aug 03 '24 16:08 PaulTR

@PaulTR Do you know how to set number of threads?

libofei2004 avatar Aug 03 '24 16:08 libofei2004

So the thread option use to be a part of the base options object I thought. Not seeing it now, so I'll check on that when I get a chance (currently traveling for work, so might be a week or so depending on access).

PaulTR avatar Aug 03 '24 16:08 PaulTR

@PaulTR do you check on how to set number of threads?

libofei2004 avatar Aug 17 '24 17:08 libofei2004