Skip to content
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

iOS: System.PlatformNotSupported exception when using HarrisCornersDetector #14

Open
AndrewKaplanovsky opened this issue Aug 11, 2016 · 3 comments

Comments

@AndrewKaplanovsky
Copy link

The iOS app fails with Exception: System.PlatformNotSupported when using HarrisCornersDetector:

System.PlatformNotSupported
Source Shim
Message PCL

at System.Array_.ConvertAll[TInput,TOutput](System.TInput[] array, System.Converter`2 converter) [0x00000] in :0
at Accord.Imaging.HarrisCornersDetector.createGaussian () [0x00017] in :0
at Accord.Imaging.HarrisCornersDetector.initialize (HarrisCornerMeasure measure, Single k, Single threshold, Double sigma, Int32 suppression, Int32 size) [0x0002d] in :0
at Accord.Imaging.HarrisCornersDetector..ctor (Single k) [0x00039] in :0
at BitPlanner.Library.BoardDetector.DetectCornersHarris (Accord.Imaging.UnmanagedImage imgToProcess) [0x00017] in D:\Work\BitPlanner\Library\BoardDetector.cs:138

portable.accord.* nugets version: 3.1.0-pre
shim 2.1.0-pre
shim.drawing 3.0.1

@AndrewKaplanovsky
Copy link
Author

iOS version 9.3.3

@AndrewKaplanovsky
Copy link
Author

I think the reason of a problem is shim version. I moved back to portable.accord 3.0.2 and shim 2.0.1 and it works now.

@anders9ustafsson
Copy link

@AndrewKaplanovsky Thanks for identifying this problem. I will have a look at it as soon as possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants