// // FrameProcessorPluginRegistry.h // VisionCamera // // Created by Marc Rousavy on 24.03.21. // Copyright © 2021 mrousavy. All rights reserved. // #pragma once #import #import "Frame.h" typedef id (^FrameProcessorPlugin) (Frame* frame, NSArray* arguments); @interface FrameProcessorPluginRegistry : NSObject + (NSMutableDictionary*)frameProcessorPlugins; + (void) addFrameProcessorPlugin:(NSString*)name callback:(FrameProcessorPlugin)callback; + (void) markInvalid; @end