File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ procedure Test_MultiLine3;
129129 Lines := SimpleOCR.RecognizeLines(LoadMatrix(' images/multiline3.png' ), Filter1, FONT_PLAIN_11);
130130 for I := 0 to High(Lines) do
131131 Lines[I] := StringReplace(Lines[I], ' I' , ' l' , [rfReplaceAll]);
132- WriteLn(Lines[ 1 ]);
132+
133133 Assert(Length(Lines) = 5 );
134134 Assert(Lines[0 ] = ' Leather Boots:' );
135135 Assert(Lines[1 ] = ' Adamant Kiteshield:' );
@@ -292,7 +292,6 @@ procedure Test_Threshold1;
292292 MinCharacterMatch: #0 ;
293293 );
294294begin
295- WriteLn(SimpleOCR.Recognize(LoadMatrix(' images/thresh.png' ), Filter, FONT_BOLD_12));
296295 Assert(SimpleOCR.Recognize(LoadMatrix(' images/thresh.png' ), Filter, FONT_BOLD_12) = ' Showing items: hello' );
297296end ;
298297
You can’t perform that action at this time.
0 commit comments