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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
========== COMMENT
This categorizer setup file is doing the same as the old digit matcher,
DigitStreamVectorizer_.

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

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

========== def 2
holeCount == 0
endpointTopLeftThirdPointCount == 1
endpointBottomRightThirdPointCount == 1
endPointCount > 1
endPointCount < 4
pointCount > 3
aspectRatio > 0.5
aspectRatio < 0.9

========== def 3
holeCount == 0
tJunctionLeftCount == 0
endpointTopLeftThirdPointCount == 1
endpointBottomLeftThirdPointCount == 1
endPointCount > 1
endPointCount < 4
softPointCount > 0
pointCount > 5
aspectRatio > 0.5
aspectRatio < 0.9

========== def 4
holeCount == 1
endpointBottomRightThirdPointCount == 1
tJunctionRightCount > 0
tJunctionRightCount < 4
aspectRatio > 0.5
aspectRatio < 0.9
softPointCount < 2
hardPointCount > 0

========== def 5
holeCount == 0
endpointTopRightThirdPointCount == 1
endpointBottomLeftThirdPointCount == 1
endPointCount > 1
endPointCount < 4
pointCount > 3
aspectRatio > 0.5
aspectRatio < 0.9
hardPointCount > 0
softPointCount > 0

========== def 6
holeCount == 1
endpointTopRightThirdPointCount == 1
tJunctionLeftCount > 0
tJunctionLeftCount < 4
aspectRatio > 0.5
aspectRatio < 0.9
softPointCount > 0
hardPointCount < 2

========== def 7
holeCount == 0
endpointTopLeftThirdPointCount == 1
endpointBottomCenterThirdPointCount == 1
horizontalLineCount == 1
endPointCount > 1
endPointCount < 4
pointCount > 2
aspectRatio > 0.5
aspectRatio < 0.9
hardPointCount == 1

========== def 8
holeCount == 2
endPointCount == 0
uJunctionCount > 0
aspectRatio > 0.5
aspectRatio < 0.9
softPointCount > 0
hardPointCount < 2

========== def 9
holeCount == 1
endpointBottomLeftThirdPointCount == 1
tJunctionRightCount > 0
tJunctionRightCount < 4
aspectRatio > 0.5
aspectRatio < 0.9
softPointCount > 1
hardPointCount < 2

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

==========

Change log

r1152 by sami.badawi on May 13, 2009   Diff
Update documentation for ShapeLogic 1.6.
Go to: 
Project members, sign in to write a code review

Older revisions

r1134 by sami.badawi on May 12, 2009   Diff
Added all digits.
r1132 by sami.badawi on May 11, 2009   Diff
Added rule based test with external
data configuration file to
StreamVectorizer for the digit 0 and
1.
All revisions of this file

File info

Size: 2205 bytes, 117 lines
Powered by Google Project Hosting