docs: Update FrameProcessorPlugin
's init method callsites (#2385)
* fix: Remove `FrameProcessorPlugin` init method It was unused. * fix: Update usage * Revert "fix: Update usage" This reverts commit 523f0606808afee998922241f01adf7fb40b0c7b. * Revert "fix: Remove `FrameProcessorPlugin` init method" This reverts commit 9025476a842c553d233de9c14f56d422270e98ef. * Update FRAME_PROCESSOR_CREATE_PLUGIN_IOS.mdx
This commit is contained in:
parent
b9a69a20e5
commit
84598c24f0
@ -92,8 +92,8 @@ import VisionCamera
|
|||||||
|
|
||||||
@objc(FaceDetectorFrameProcessorPlugin)
|
@objc(FaceDetectorFrameProcessorPlugin)
|
||||||
public class FaceDetectorFrameProcessorPlugin: FrameProcessorPlugin {
|
public class FaceDetectorFrameProcessorPlugin: FrameProcessorPlugin {
|
||||||
public override init(options: [AnyHashable : Any]! = [:]) {
|
public override init(proxy: VisionCameraProxyHolder, options: [AnyHashable : Any]! = [:]) {
|
||||||
super.init(options: options)
|
super.init(proxy: proxy, options: options)
|
||||||
}
|
}
|
||||||
|
|
||||||
public override func callback(_ frame: Frame, withArguments arguments: [AnyHashable : Any]?) -> Any {
|
public override func callback(_ frame: Frame, withArguments arguments: [AnyHashable : Any]?) -> Any {
|
||||||
|
Loading…
Reference in New Issue
Block a user