File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
Regula.DocumentReader.NetCoreExamplePortraitComparison
Regula.DocumentReader.NetCoreExample Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -103,6 +103,13 @@ public static void Main()
103
103
Console . WriteLine ( $ "Validity Of Document Number Visual: { docNumberVisualValidity } ") ;
104
104
Console . WriteLine ( $ " Validity Of Document Number MRZ: { docNumberMrzValidity } ") ;
105
105
Console . WriteLine ( $ " MRZ-Visual values comparison: { docNumberMrzVisualMatching } ") ;
106
+
107
+ Console . WriteLine ( "-----------------------All Text Fields------------------------" ) ;
108
+
109
+ foreach ( var field in response . Text ( ) . FieldList )
110
+ {
111
+ Console . WriteLine ( $ "Source: { field . FieldName } , Value: { field . Value } ") ;
112
+ }
106
113
Console . WriteLine ( "-----------------------------------------------------------------" ) ;
107
114
108
115
// images results
Original file line number Diff line number Diff line change @@ -95,7 +95,13 @@ public static void Main()
95
95
Console . WriteLine ( $ " Validity Of Document Number MRZ: { docNumberMrzValidity } ") ;
96
96
Console . WriteLine ( $ " MRZ-Visual values comparison: { docNumberMrzVisualMatching } ") ;
97
97
Console . WriteLine ( $ " Portrait Comparison Percents: { comparison . AuthenticityCheckList . List [ 0 ] . List [ 0 ] . PercentValue } ") ;
98
+ Console . WriteLine ( "-----------------------All Text Fields------------------------" ) ;
99
+ foreach ( var field in response . Text ( ) . FieldList )
100
+ {
101
+ Console . WriteLine ( $ "Source: { field . FieldName } , Value: { field . Value } ") ;
102
+ }
98
103
Console . WriteLine ( "-----------------------------------------------------------------" ) ;
104
+
99
105
100
106
// images results
101
107
var documentImage = response . Images ( ) . GetField ( GraphicFieldType . DOCUMENT_FRONT ) . GetValue ( ) ;
You can’t perform that action at this time.
0 commit comments