orbbec / OrbbecSDK_CSharp

5 stars 1 forks source link

Problems with implementing PostProcessing filters #1

Open jb455 opened 2 months ago

jb455 commented 2 months ago

Hi!

First, thanks for sharing this wrapper, it's very useful though could do with being signposted from eg https://www.orbbec.com/developers/orbbec-sdk/, I spent a while messing around with C++ before finding this.

In my fork (https://github.com/jb455/OrbbecSDK_CSharp/tree/postprocessing) I'm trying to implement PostProcessing filters so I can use them in my project but I'm having a couple of errors when running it:

I'm guessing both are these are from how I'm initialising the Filter from the FilterList here but I'm not sure how to do it otherwise, it seems to follow the pattern used in similar cases like streamprofiles etc. Does anyone have any ideas please? Also, is the source for the C++ API available anywhere so I can see how it implements the C and emulate that for the C# wrapper?

I added a PostProcessing sample too which you can run to see the errors, though I'm not very well versed on cmake stuff so it's in as a csproj for now.

Thanks James

zhonghong322 commented 2 months ago

@obwh Please take a look at this issue.

obwh commented 1 month ago

We will release C# SDK cover all C++ OpenOrbbecSDK API next month, thank you!