deepar_filter library

Camera-filter–only entry point for deepar_kit.

Import this when you want DeepAR AR/beauty filters as a standalone camera filter, with no Agora involved — no bridge, no streaming, no Agora setup:

import 'package:deepar_kit/deepar_filter.dart';

final deepar = DeepARController();
await deepar.initialize(licenseKey: 'YOUR_DEEPAR_KEY');
await deepar.startCapture();
await deepar.loadEffect('effects/my_filter.deepar');
// Render DeepAR's preview widget in your UI.

Need to stream those filtered frames over Agora? Import package:deepar_kit/deepar_kit.dart instead — it adds the DeepARAgoraBridge on top of everything exported here.

Classes

DeepARController
Controller for the DeepAR augmented reality engine.
DeepARFrame
Represents a single AR-processed frame from the DeepAR engine.