Shape Recognition in UWP with InkAnalyzer

The SDK for the Creators Update has so many gems, but this new UWP feature from my friends on the Ink team is very near and dear to my heart: InkAnalysis is back, finally available for UWP apps!

I have spent some time working in this space back in the Windows Vista timeframe when we released the InkAnalyzer for WPF, WinForms and Win32 app. So excited to finally be able to analyze handwriting and drawing in UWP apps on all Windows 10 devices.

One of the many features of InkAnalyzer is the recognition of shapes in your ink drawings. To test it out, I dug up my WPF sample from 2007 and moved it to the new namespaces. Had to adjust a couple of API names and some of the math, but overall it was a pretty smooth port and I had things working within an hour on my PC and Phone.

ShapeRecoSample
UWP Shape Recognition anno 2017

And here is my blog post from 2007 on the same subject 🙂
https://blogs.msdn.microsoft.com/swick/2007/11/01/shape-recognition-with-wpf-and-inkanalysis/

WPFshapeReco
WPF Shape Recognition anno 2007

The Windows Store has recently started accepting Creators Update app submissions, so I was able to put my sample into the Store. Check it out on all your Win10 devices running the Creators Update:

Get it on Windows 10

The source code for this sample is available here on GitHub.

Cheers,
Stefan

 

Advertisement

Developer’s Guide to the Desktop Bridge

I am happy to announce that the Microsoft Virtual Academy training course, Developer’s Guide to the Desktop Bridge, is now available on demand.
This video course, delivered by the Desktop Bridge Program Management team, aims to help developers understand the concepts and benefits of the Desktop Bridge tooling in the Windows 10 Universal Windows Platform. Watch the video and find the relevant sample code here to start bringing your desktop apps to the Windows Store and to take advantage of new Windows 10 features of the Universal Windows Platform in your WPF, WinForms, MFC or other type of Win32 apps.
Do you want to distribute your desktop application in the Windows Store? We cover that in the course. Do you want to take advantage of modern Windows 10 app-to-app features in your existing desktop application? We cover that in the course. Do you want to light-up Windows 10 features, and still distribute your app to Windows 7 users? We cover that, too. Modernizing your desktop app gradually with UWP components? We cover all of these and more in the course.

 

mva.PNG
Click to start the course at mva.microsoft.com

 

There are eight modules in this course:
1. Intro to the Desktop Bridge
2. Desktop App Converter
3. Debugging and Testing Your Converted Apps
4. Distributing Your Converted Apps
5. Enhancing Desktop Applications with UWP Features
6. Extending and Modernizing with UWP components
7. What’s Next for the Desktop Bridge
8. Post-Course Survey

For more information on the Desktop Bridge, please visit the Windows Dev Center.
Ready to submit your app to the Windows Store? Let us know!
Feedback or feature suggestions? Submit them on User Voice.