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.
But the output is always BLACK, when I set .setExact(true), everything works fine, I would like to speed up to background remover process that's why I set False to setExact()
I'm using the following code to get the foreground only from a given
bitmap
:But the output is always BLACK, when I set
.setExact(true)
, everything works fine, I would like to speed up to background remover process that's why I set False tosetExact()