Thursday, January 29, 2015

Portable AForge and Accord libraries - Now on NuGet!

I have finally taken the step and published the Portable AForge.NET and Portable Accord.NET libraries on NuGet!

This means that it has now become a no-brainer to effortlessly include these libraries in your mobile or tablet application, regardless of whether you are developing with Visual Studio or Xamarin Studio.

As a bonus teaser, I have also included evaluation builds of Shim.Drawing (the bridging library between the Bitmap class representation in AForge and Accord with the platform specific image classes) for Xamarin Android, Xamarin iOS, Windows Phone 8.1 (non-Silverlight) and Windows 8.1. For Xamarin iOS, both the Unified and Classic APIs are supported.

The evaluation builds offer all functionality of the full version, but a watermark is added to images processed by Shim.Drawing. This means that it has now become extremely easy to test the AForge.NET and Accord.NET functionality on all relevant mobile and tablet platforms. After successful evaluation, the full version (without watermarks) of the Shim.Drawing library is available for purchase from Cureos. The license cost as of January 29, 2015 is $100 for one platform (Android, iOS, Windows Phone or Windows 8.1), $150 for two platforms and $200 for all supported platforms.

I have also updated the samples repository on Github to use NuGet. In the samples repository you'll currently find an image stitching application for Windows Phone Silverlight 8 and a Xamarin Forms face detection application for Android, iOS and Windows Phone Silverlight 8. The face detection application has recently been presented in more detail in this blog post. More examples to get you started will be published soon.

Link summary


  1. OK, I'm game - just tell me one thing so I don't get a rude surprise - I can't pull the stuff in from NuGet into a unity project because the version config for unity doesn't match shim - if you tell me I give you a hundred Euros and all my problems go away its a done deal - and I'll probably be giving you more

    1. Hi Mark,

      which .NET version is your Unity project targeting? The Portable AForge and Accord libraries require .NET 4.5 or higher.

      Alternatively, you might want to have a look at one fork from my Github repository named "ai4unity", . This is a Unity dedicated version of AForge which might suit your needs better. I have not used it myself, so I don't know its coverage, but it might be worth to take a look at least.

      Best regards,
      Anders @ Cureos