HMS ML Demo provides an example of integrating Huawei ML Kit service into applications. This example demonstrates how to integrate services provided by ML Kit, such as face detection, text recognition, image segmentation, asr, and tts.
I found that when set Camera's preview size of 320 240,
the speed of face recognition will much faster than
set Camera's preview size of normal phone resolution like 1920 1080,
by the way, the preview quality of Camera will be very low.
so, is it possible to compress the yuv data in LensEngine's inner class LensPreviewer's onPreviewFrame() method?
i'm trying to compress the yuv data without changing the parameters of Camera,
in order to Improve the speed of face recognition and keep high quality of Camera's preview
I'm still trying, so if anyone thinks this is a feasible approach, please give me a hint
thanks you~
I found that when set Camera's preview size of 320 240, the speed of face recognition will much faster than set Camera's preview size of normal phone resolution like 1920 1080, by the way, the preview quality of Camera will be very low. so, is it possible to compress the yuv data in LensEngine's inner class LensPreviewer's onPreviewFrame() method? i'm trying to compress the yuv data without changing the parameters of Camera, in order to Improve the speed of face recognition and keep high quality of Camera's preview
I'm still trying, so if anyone thinks this is a feasible approach, please give me a hint thanks you~