FrameFilter is the base class for all filters (including trackers) using frames from FrameStreamer to retrieve infomation from current scene.
You need to call attachStreamer to attach a FrameStreamer to filter first, then the images from the FrameStreamer are used for by the filter. You can call start/stop to enable/disable the filter process. start and stop are very lightweight calls.
Attach FrameStreamer to the filter. Filter will not start to work until a FrameStreamer is attached.
Attach null object will detach previous attached FrameStreamer from filter.
easyar_FrameFilter_attachStreamer(easyar_FrameFilter* This, easyar_FrameStreamer* obj)¶
public native boolean attachStreamer(FrameStreamer obj)¶
- (bool)attachStreamer:(easyar_FrameStreamer *)obj¶
public func attachStreamer(_ obj: FrameStreamer?) -> Bool¶
Starts the filter. The filter will not actually start until a FrameStreamer is attached.
public native boolean start()¶
public func start() -> Bool¶