Recording Equipment Discussions

Flat
A handwriting recognition problem
User: Shohre
Date: 2/7/2014 12:56 pm
Views: 8096
Rating: 23

Hi :

I want to use HTK for handwriting recognition. I used htkwrite function in matlab to convert my data to a htkfile. I used HInit and my prototype was like this:

~o

<VecSize> 1 <USER>

<BeginHMM>

<NumStates> 5

<State> 2

<Mean> 1

-2.5692

<Variance> 1

2.8557

<State> 3

<Mean> 1

0.90271

<Variance> 1

2.6101

<State> 4

<Mean> 1

-2.4921

<Variance> 1

2.4246

<TransP> 5

0 1 0 0 0

0 0.1 0.9 0 0

0 0 0.1 0.9 0

0 0 0 0.1 0.9

0 0 0 0 0

 

<EndHMM>

 

I got this error:

HMM Def Error: GetToken: Symbol expected at line 1/col 2/char 1

  ERROR [+7050]  HMError:

Can anyone tell me what the problem is?

Re: A handwriting recognition problem
User: Meysam
Date: 7/2/2014 4:04 am
Views: 710
Rating: 19

hi shohre

what's your full command of HInit?

I think you must define ~h in 2th line!
this is a standard prototype oh HMM: 

~o <VecSize> 25 <MFCC_0_D_N_Z>
~h "proto"
<BeginHMM>
  <NumStates> 5
  <State> 2
    <Mean> 25
      0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0  
    <Variance> 25
      1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 
 <State> 3
    <Mean> 25
      0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0  
    <Variance> 25
      1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0
 <State> 4
    <Mean> 25
      0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 
    <Variance> 25
      1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0
 <TransP> 5
  0.0 1.0 0.0 0.0 0.0
  0.0 0.6 0.4 0.0 0.0
  0.0 0.0 0.6 0.4 0.0
  0.0 0.0 0.0 0.7 0.3
  0.0 0.0 0.0 0.0 0.0

<EndHMM> 

Re: A handwriting recognition problem
User: dani
Date: 10/22/2014 1:14 am
Views: 3596
Rating: 17

Hi all, 

I want use HTk for handwritten arabice character, I already downloaded HTK from site, also have IFN/ENIT database. Please guide me how touse HTK for this matter.

 

PreviousNext