-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Unable to create Spatial Filter #18
Comments
Thanks for the feedback, can you confirm that you have copied the extensions libraries to your application working directory?Perhaps this is due to the SDK not successfully finding and loading the extensions libraries. Additional information:Extensions libraries can be found in the lib directory of the precompiled package |
Hi, thanks for the quick reply. I added the |
I just realised I get the same error when trying to initialise |
Just keep the |
Ah, that fixed it, I just moved filter initialisation to after pipeline start. Thanks for your help! |
OK, glad to hear it's fixed. This is still an oversight in our documentation and interface comments, and we'll add a description of it in the next release before we close this issue. |
An exception is thrown when creating a spatial filter with the code:
auto spatialFilter = std::make_shared<ob::SpatialAdvancedFilter>();
The message given is:
Invalid filter name, cannot find filter creator for filter name: SpatialAdvancedFilter
Tested with precompiled release 2.0.18.0 and latest commit to main on this repo (d6d044a), using a Gemini 336 on FW 1.3.70.
Note that it is possible to enable the filter using the Orbbec Viewer app (V2.0.18-main) without error.
Just out of interest I tried replacing "SpatialAdvancedFilter" with "SpatialFilter" at
OrbbecSDK_v2/src/device/gemini330/G330Device.cpp
Line 1097 in d6d044a
The text was updated successfully, but these errors were encountered: