not sure to which Thread it belong.
as it talk about "Handwritten" recognition you can use Microsoft INK for it
have a look in HMG Forum
http://www.hmgforum.com/viewtopic.php?f=5&t=7206
you will find Source for this
#include "FiveWin.ch"
STATIC myRecognizers
STATIC myInkCollector
static oWnd
PROCEDURE MAIN
DEFINE WINDOW oWnd MENU BuildMenu()
myRecognizers := CreateObject( "msinkaut.InkRecognizers" )
myInkCollector := CreateObject( "msinkaut.InkCollector" )
myInkCollector:hWnd := oWnd:hWnd
myInkCollector:Enabled = .T.
ACTIVATE WINDOW oWnd
RETURN
function BuildMenu()
local oMenu
MENU oMenu
MENUITEM "Text" ACTION MsgInfo( myInkCollector:Ink:Strokes:ToString() )
MENUITEM "Clean" ACTION ( myInkCollector:Ink:DeleteStrokes( myInkCollector:Ink:Strokes ), oWnd:Refresh() )
ENDMENU
return oMenuglad that i can help.
Dear Jimmy,
Do you know if there is a similar API to talk to Cortana ?
many thanks
„Get-AppxPackage -allusers Microsoft.549981C3F5F10 | Remove-AppxPackage“Is it possible to load from an image file a written text?
bye to all
marco
MarcoBoschi wrote:Is it possible to load from an image file a written text?
bye to all
marco
PROCEDURE cmdLoad.Click
lsInk = CREATEBINARY(FILETOSTR(GETFILE("isf")))
thisform.inkoverlay.Enabled = 0
thisform.inkoverlay.ink.Load(lsInk)
thisform.inkoverlay.Enabled = 1
*--Tell control to redraw, or changes will not be made visible.
*-- Use the InkRectangle object we
*-- created during form Init.
ThisForm.inkoverlay.Draw(ThisForm.InkRectangle)
ENDPROC
MENUITEM "Copy" ACTION myInkCollector:Ink:ClipBoardCopy()MENUITEM "Paste" ACTION (myInkCollector:Enabled := .f.,myInkCollector:Ink:ClipBoardPaste(),myInkCollector:Enabled := .T.)Microsoft InkEdit Control
{E5CA59F5-57C4-4DD8-9BD6-1DEEEDD27AF4}
ProgID "InkEd.InkEdit.1"Microsoft InkPicture Control
{04a1e553-fe36-4fde-865e-344194e69424}
ProgID "msinkaut.InkPicture.1"InkDisp
InkOverlay
InkPicture
InkCollector
InkDrawingAttributes
InkRectangle
InkRenderer
InkTransform
InkRecognizers
InkRecognizerContext
InkRecognizerGuide
InkTablets
InkWordList
InkStrokes
Ink
SketchInkInk is persisted by using a Graphics Interchange Format (GIF) file that contains ISF as metadata that is embedded within the file.
The Save method allows you to persist the ink in an InkDisp object in Graphics Interchange Format (GIF) format, which consists of an array of byte data (the tla_gif persistence format is specified in the InkPersistenceFormat enumeration type). After you have the array of byte data, you can load the array of byte data into another InkDisp object. This means that you can load GIF-compatible byte array data into another InkDisp object in the same way as if you had called the Save method and received a byte array that was not in GIF format.