Is it possible to execute native script RRS feed

  • Question

  • User391138 posted

    Hi everyone ! I need to use openCV library but there is no way use library with c# so I was wondering to use another way. I would like to use openCV for Android and iOS, Firstly is there really no c# library openCV ? Secondly Can I use native script Java (for android) and swift (for iOS) to use openCV

    Thank you in advance.

    Wednesday, August 12, 2020 11:06 AM

All replies

  • User76049 posted

    https://docs.microsoft.com/en-us/xamarin/android/platform/binding-java-library/ https://docs.microsoft.com/en-us/xamarin/cross-platform/macios/binding/objective-c-libraries?tabs=macos https://docs.microsoft.com/en-us/xamarin/cross-platform/cpp/

    It's possible to wrap ObjectiveC, Java & C++ and call from C# code.

    This is already discussed on this thread so it's probably a good starting point https://forums.xamarin.com/discussion/150299/opencv-with-xamarin-forms

    Wednesday, August 12, 2020 11:21 AM
  • User391138 posted

    Thank you I saw this topic but I'm not sure if it's a good way for optimisation

    Wednesday, August 12, 2020 11:26 AM
  • User76049 posted

    I think it's the only way if your going down the cross platform route.

    Happy to be corrected on that last statement though.

    Wednesday, August 12, 2020 11:35 AM