Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Tablet PC recognition engine on a Desktop PC

1 view
Skip to first unread message

Jon Gross

unread,
Oct 18, 2004, 1:16:00 PM10/18/04
to
We have a proprietary hardware device that gives us back a series of
X,Y coordinates that represent what the user wrote. From the reading
that I have done it sound exactly like what you guys call ink. Our
sampling rate is about 100 point per second, a little less than what I
have read that the tablet PC does.

What I want to do is use the ICR engine that is part of the Tablet PC
OS to recognize these strokes. Assuming that I can convert my X,Y
coordinates into "Ink" does that sound possible?

If that sounds like it would work can I run the Tablet PC OS on a
desktop computer? I have read posts that seem to conflict on if that
is possible. The only functionally that I want out of the Tablet PC
is the recognition. I do not need the display, special buttons, or
even input because I will provide my own "Ink"

After doing some more searching I ran across Microsoft Windows XP
Tablet PC Edition 2005 Recognizer Pack. Is that what I want to
install to get started.

We have a group of .Net developers working on this project. Is
anybody willing to share some sample code to get us started?

Thanks for you help.

Stefan Wick[MS]

unread,
Oct 18, 2004, 6:29:16 PM10/18/04
to
Hello Jon,

you have two options to check out the recognition features on your desktop
OS:

1) install WindowsXP Tablet PC Edition on your desktop computer (it comes as
part the MSDN subscription level "Operating Systems" or higher)

2) install the WindowsXP Tablet PC 2005 Recognizer Pack on top of your
desktop operating system

In both cases you will also need to install the TabletPC SDK in order to
write an app that performs recognition of your data structures. Note that
both of the above install options are supported only for development and
testing purposes.

Please find a small C# sample app below that recognizes "external ink" which
is stored as plain arrays of X,Y coordinates. Note that this code is using a
very simplified way to perform recognition (via the ToString method). For
more advanced recognition scenarios and better accuracy you should look up
the RecognizerContext class in the SDK doc and check out the recognition
samples that come with the SDK.

Thanks,
Stefan Wick

using System;
using System.Drawing;
using System.Windows.Forms;
using Microsoft.Ink;

public class Form1 : Form
{
private InkPicture inkPicture1;
public Form1()
{
inkPicture1 = new InkPicture();
inkPicture1.Parent = this;
inkPicture1.Dock = DockStyle.Fill;

Point[] pts1 = new Point[]{new Point(100, 100), new Point(100, 2100)};
Point[] pts2 = new Point[]{new Point(100, 1100), new Point(1100, 1100)};
Point[] pts3 = new Point[]{new Point(1100, 100), new Point(1100, 2100)};
Point[] pts4 = new Point[]{new Point(2600, 100), new Point(2600, 2100)};
inkPicture1.Ink.CreateStroke(pts1);
inkPicture1.Ink.CreateStroke(pts2);
inkPicture1.Ink.CreateStroke(pts3);
inkPicture1.Ink.CreateStroke(pts4);

Text = inkPicture1.Ink.Strokes.ToString();
}

[STAThread]
static void Main()
{
Application.Run(new Form1());
}
}

--
This posting is provided "AS IS" with no warranties, and confers no
rights. Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

"Jon Gross" <j...@agritec.com> wrote in message
news:8cf97431.04101...@posting.google.com...

Philippe Majerus, MS-MVP Mobile Devices

unread,
Oct 18, 2004, 9:23:29 PM10/18/04
to
> 2) install the WindowsXP Tablet PC 2005 Recognizer Pack on top of your
> desktop operating system

I believe this scenario can only be used for testing and development
purposes, the recognizers pack cannot be used on non Tablet PC builds of the
OS for any other purpose (mean you could use that to test it out, but need
to switch to WinXP Tablet PC Edition when the project goes into production,
which might need some work with Microsoft to get the rights to distribute
the OS on PCs without built-in digitizers...).


--
Philippe Majerus
Microsoft MVP - Mobile Devices (http://support.microsoft.com/support/mvp)
Software, Documentation and stuff - http://www.phm.lu


Chris H.

unread,
Oct 18, 2004, 10:24:17 PM10/18/04
to
That's why the response is in the developer newsgroup, Philippe. 8-) With
the SDK, devs can emulate Tablet PC reactions and program on a regular
desktop. That's how the Tablet was developed in the first place.
--
Chris H.
Microsoft Windows MVP/Tablet PC
Tablet Creations - http://nicecreations.us/
Associate Expert
Expert Zone - www.microsoft.com/windowsxp/expertzone


"Philippe Majerus, MS-MVP Mobile Devices" <Use:
http://www.majerus.net/ContactUs/EMail.aspx?to=phm> wrote in message
news:e5N3umXt...@TK2MSFTNGP11.phx.gbl...

Stefan Wick[MS]

unread,
Oct 19, 2004, 9:06:44 AM10/19/04
to
Both scenarios are supported only for testing and development purposes.

I did mention this in my previous post:


"Note that both of the above install options are supported only for
development and testing purposes."

Thanks,
Stefan Wick


--
This posting is provided "AS IS" with no warranties, and confers no
rights. Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

"Philippe Majerus, MS-MVP Mobile Devices" <Use:

http://www.majerus.net/ContactUs/EMail.aspx?to=phm> wrote in message
news:e5N3umXt...@TK2MSFTNGP11.phx.gbl...

Jon Gross

unread,
Oct 20, 2004, 11:36:49 AM10/20/04
to
Thanks for the info. I will give it try.

Jon


"Stefan Wick[MS]" <sw...@online.microsoft.com> wrote in message news:<#AaoKydt...@TK2MSFTNGP15.phx.gbl>...

Monroe@discussions.microsoft.com Ben Monroe

unread,
Nov 3, 2004, 6:13:13 PM11/3/04
to
For internal political reasons, we are running Win2k only in our environment.
Is there an exception if you own a tablet pc that came with XP Tablet PC
Edition? We have downgraded ours to Win2k.

Thanks,
Ben

Stefan Wick[MS]

unread,
Nov 4, 2004, 1:20:12 AM11/4/04
to
Hello Ben,

I am not exactly sure about the answer to your question, but I will find
out.
Please note that installing the TabletPC Recognizer Pack on a non-Tablet
operating system by itself isn't very useful for the end-user. It only
installs the handwriting recognizers, but it doesn't install the TabletPC
Input Panel (or any other UI to perform handwriting recognition).

On non-Tablet operating systems the purpose of this pack is to enable
developers to write and test applications that use the handwriting
recognition APIs.

Thanks,
Stefan Wick
--
This posting is provided "AS IS" with no warranties, and confers no
rights. Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

"Ben Monroe" <Ben Mon...@discussions.microsoft.com> wrote in message
news:ADA4D702-F31D-42B6...@microsoft.com...

Stefan Wick[MS]

unread,
Nov 5, 2004, 2:40:46 AM11/5/04
to
I checked with our business folks on your scenario and they have confirmed
that it is still a violation of the EULA.

Thanks,
Stefan Wick
--
This posting is provided "AS IS" with no warranties, and confers no
rights. Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

"Stefan Wick[MS]" <sw...@online.microsoft.com> wrote in message
news:O7aFiZj...@TK2MSFTNGP10.phx.gbl...

xactdata

unread,
Feb 20, 2005, 1:01:01 AM2/20/05
to
Stefan,

I have been reading this thread and it is what I need information on as
well. We need to be able to distribute the Recognizer Pack to non-Tablet PC
(just WinXP on a desktop) for an ink based recognition capability in our
application. Can you provide a contact at MS that we can engage with to
discuss this?

Thanks
Rod

Stefan Wick[MS]

unread,
Feb 20, 2005, 11:30:43 AM2/20/05
to
Hi Rod,

please send me mail (remove "online." from my e-mail address) and I will
hook you up with the appropriate people.

Thanks,
Stefan Wick
--
This posting is provided "AS IS" with no warranties, and confers no
rights. Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

"xactdata" <xact...@discussions.microsoft.com> wrote in message
news:0ABF3484-861E-483E...@microsoft.com...

0 new messages