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.
3 - Combine all frames (no background) into one video file.
THE ISSUE :
The step 2 (Removing background) takes a long time e.g. video with 26sec takes almost 5min to process, is there any better and faster way to do this, such as using LensEngine or something like that?
Hi, I hope you're doing well, I'm trying to remove the background from a video, right now I'm following those steps :
1 - Extract all frames from video using FFMPEG
2 - Remove the background from each frame using Huawei ML Image Segmentation and save the bitmap as file to use it later :
3 - Combine all frames (no background) into one video file.
THE ISSUE :
The step 2 (Removing background) takes a long time e.g. video with 26sec takes almost 5min to process, is there any better and faster way to do this, such as using LensEngine or something like that?