My favorites | Sign in
Project Home Downloads Wiki Issues Source
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
========== COMMENT
This categorizer setup file is doing the same as the letter matcher,
StreamVectorizer. Currently only 3 letter have been setup.
This is meant as an example it is not robust, for better result train a neural network.

========== def A
pointCount == 5
holeCount == 1
tJunctionLeftCount == 1
tJunctionRightCount == 1
endpointBottomPointCount == 2
horizontalLineCount == 1
verticalLineCount == 0
endPointCount == 2
softPointCount == 0

========== def I
holeCount == 0
tJunctionLeftCount == 0
tJunctionRightCount == 0
endpointBottomPointCount == 1
horizontalLineCount == 0
verticalLineCount == 1
endPointCount == 2
multiLineCount == 0
softPointCount == 0
aspectRatio < 0.4

========== def O
holeCount == 1
tJunctionCount == 0
endPointCount == 0
multiLineCount == 1
curveArchCount > 0
hardPointCount == 0
softPointCount > 0


========== PRINTS
Category
Points
lineCount
holeCount

==========

Change log

r1183 by sami.badawi on May 15, 2009   Diff
Example showing how to match the letter A
using a categorizer setup file.
Go to: 
Project members, sign in to write a code review

Older revisions

All revisions of this file

File info

Size: 907 bytes, 45 lines

File properties

svn:mime-type
text/plain
Powered by Google Project Hosting