Real-time Video Segmentation SDK
Using a deep learning framework with advanced detection and recognition technologies, this SDK performs real-time, pixel-level segmentation of subjects and scenes. It delivers excellent results, even for subjects with intricate outlines or in complex backgrounds.
Starting May 12, 2026, Alibaba Cloud Vision Intelligence Platform will no longer issue new license authorizations for its offline SDK products. Existing customers who have previously purchased a license can continue to use the service, but Alibaba Cloud Vision Intelligence Platform will not grant new licenses.
Benefits
High performance: Achieves real-time segmentation on standard smartphones without lagging.
Superior results: The Background Segmentation SDK is optimized to deliver highly accurate segmentation with clean, precise edges.
Use cases
Video conference: Create virtual background effects similar to those in DingTalk. Lets users change their background during video calls to enhance the meeting experience.
Live streaming: Lets streamers change their backgrounds during a broadcast to create a more interactive and immersive experience.
Prerequisites
Before you use the SDK, you must activate it and obtain authorization. For more information, see Activate and authorize the offline SDK.
Billing
For pricing details of the Real-time Video Segmentation SDK, see offline SDK billing.
Supported platforms
Android and iOS
Limits
Android: Android 5.0 or later. The device must have a camera module and a gyroscope module.
iOS: iOS 10 or later. iPhone 5s or later models are supported. The device must have a camera module.
Recommended camera resolution: The native camera resolution must be greater than 640 × 480 pixels and less than 1280 × 720 pixels. A higher resolution may reduce the SDK's performance.
For support on models earlier than the iPhone 5s, or on low-end Android devices, please contact us.
Get started
This SDK does not transmit any data to the SDK provider. Therefore, if you use this SDK to collect personal information, you are considered the data processor. The SDK provider is not a data processor or a sub-processor. You must fully inform users and obtain their authorization in accordance with relevant laws and regulations. When informing users, ensure that the SDK provider is not identified as a data processor or a sub-processor.
Android: See the Android integration guide.
iOS: See the iOS integration guide.