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

BlobCounter: GetObjectsInformation() method returns incorrect ColorMean for Blobs for iOS #15

Open
AndrewKaplanovsky opened this issue Aug 12, 2016 · 1 comment

Comments

@AndrewKaplanovsky
Copy link

Hi @anders9ustafsson, sorry for disturbing you all the time.

BlobCounter class, when being used in iOS app the GetObjectsInformation() method returns incorrect ColorMean for blobs found. Actually, the R and B channels are mixed in the results, so instead of RGB(30,67,90), for example, the color returned is RGB(90,67,30).

I do not observe this behavior for UWP platform (for UWP platform everything works correctly), so may be the problem is actually in Shim libraries.

Shim 2.0.1
Shim.Drawing 3.0.1
Portable.accord.* 3.0.2.60302

@anders9ustafsson
Copy link

@AndrewKaplanovsky Thanks for noticing this. I actually believe this could be an error in the Shim.Drawing implementation for iOS. I have had this suspicion in the back of my head for a while, but I have not explicitly verified it before. Now you have given me the incentive to do so :-) I'll get back as soon as time allows.

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