Xamarin: Difference between revisions

From Yggenyk
Jump to navigation Jump to search
No edit summary
 
Line 11: Line 11:
* [https://blog.xamarin.com/adding-facial-recognition-to-your-mobile-apps/?utm_medium=social&utm_campaign=blog&utm_source=linkedin&utm_content=msft-cog-services-facial-recognition Adding Facial Recognition to Your Mobile Apps]
* [https://blog.xamarin.com/adding-facial-recognition-to-your-mobile-apps/?utm_medium=social&utm_campaign=blog&utm_source=linkedin&utm_content=msft-cog-services-facial-recognition Adding Facial Recognition to Your Mobile Apps]
* [https://github.com/pierceboggan/smarter-apps Learn how to build smarter mobile apps using Microsoft Cognitive Services & Xamarin]
* [https://github.com/pierceboggan/smarter-apps Learn how to build smarter mobile apps using Microsoft Cognitive Services & Xamarin]
==SkiaSharp==
====Fiddles====
* [https://fiddle.skia.org/ Skia Fiddle]
* [https://fiddle.skia.org/named/ Named Fiddles]
====Disposable Transform====
<syntaxhighlight lang="C#" line='line'>
    using (new Transform(canvas))
    {
    }
    public class Transform : IDisposable
    {
        private readonly SKCanvas _canvas;
        public Transform(SKCanvas canvas)
        {
            _canvas = canvas;
            canvas.Save();
        }
        public void Dispose()
        {
            _canvas.Restore();
        }
    }
</syntaxhighlight >
====Transform point from current transformation matrix to original grid====
<source lang="cpp">
    // Transform point from current transformation matrix to original grid
    var originalPoints = new[] { new SKPoint(0, 0) };
    var pointInCurrentTransformationMatrix = new[] { new SKPoint(0, 0) };
    canvas.TotalMatrix.MapPoints(originalPoints, pointInCurrentTransformationMatrix);
    // Transform point from original grid to current transformation matrix
    canvas.TotalMatrix.TryInvert(out var inverseMatrix);
    var snappedPixelPointsInCurrentTransformationMatrix = new[] { new SKPoint(0, 0) };
    inverseMatrix.MapPoints(snappedPixelPointsInCurrentTransformationMatrix, originalPoints);
</source>
* [https://translate.google.com/translate?hl=en&sl=auto&tl=en&u=http%3A%2F%2Fmonobook.org%2Fwiki%2FSkiaSharp%E3%81%A7%E6%97%A5%E6%9C%AC%E8%AA%9E%E6%96%87%E5%AD%97%E5%88%97%E3%82%92%E6%8F%8F%E7%94%BB%E3%81%99%E3%82%8B Draw Japanese character string with SkiaSharp]
[[File:Typography_Line_Terms.png]]
* [https://gist.github.com/xoofx/a9d08a37c43f692e65df80a1888c488b Resize an image and draw some overlay text with SkiaSharp]
====WPF====
* [https://github.com/impsnldavid/skiasharpwpfextensions skiasharpwpfextensions]


==Android==
==Android==

Latest revision as of 06:10, 25 March 2018


The Accord.NET Image Processing and Machine Learning Framework

Accord.NET is a framework for scientific computing in .NET. The framework is comprised of multiple librares encompassing a wide range of scientific computing applications, such as statistical data processing, machine learning, pattern recognition, including but not limited to, computer vision and computer audition. The framework offers a large number of probability distributions, hypothesis tests, kernel functions and support for most popular performance measurements techniques.* Accord .NET Framework

Facial Recognition

Adding Facial Recognition to Your Mobile Apps By Pierce Boggan

Android

Android services

Android Emulator

Android Emulator Hardware Acceleration

Android Camera

iOS

Automatic macOS Provisioning

MvvmCross

Bindings

UWP

Reflection and Default.rd.xml

Navigation

Migrating ot UWP

id=siteTree