Skip to content

Commit 1fae1b6

Browse files
authored
update cards (#1142)
1 parent 7bd27b8 commit 1fae1b6

12 files changed

+33
-75
lines changed

docs/_posts/aymanechilah/2024-03-15-docvqa_pix2struct_jsl_opt_en_3_2.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ tags: [en, licensed]
88
task: Document Visual Question Answering
99
language: en
1010
nav_key: models
11-
edition: Visual NLP 5.2.0
11+
edition: Visual NLP 5.1.0
1212
spark_version: 3.2.1
1313
supported: true
1414
article_header:
@@ -118,8 +118,6 @@ Image:
118118
+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
119119
|{[What's the estimated population in poverty of Lawrence? , What's the population of Stoddard? , What is the page number of the document? , What is the date number of the document? ], [ 55,730, 26,800, 6, 1/28/70], [0.030239912, 0.9217337, 0.9979782, 0.09267823]}|
120120
+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
121-
CPU times: user 10.5 ms, sys: 1.85 ms, total: 12.3 ms
122-
Wall time: 43.6 s
123121
```
124122

125123

docs/_posts/aymanechilah/2024-03-15-image_handwritten_detector_jsl_en_3_2.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
22
layout: model
3-
title: Handwritten Text Detection
3+
title: Handwritten Text and Signature Detection
44
author: John Snow Labs
55
name: image_handwritten_detector_jsl
66
date: 2024-03-15
77
tags: [en, licensed]
8-
task: Handwritten Text Detection
8+
task: Handwritten Text and Signature Detection
99
language: en
1010
nav_key: models
11-
edition: Visual NLP 5.2.0
11+
edition: Visual NLP 5.1.2
1212
spark_version: 3.2.1
1313
supported: true
1414
article_header:
@@ -93,22 +93,22 @@ val result = pipeline.transform(image_df)
9393

9494
## Example
9595

96-
{%- capture input -%}
96+
{%- capture input_image -%}
9797
![Screenshot](/assets/images/examples_ocr/hw_detection_input.png)
9898
{%- endcapture -%}
9999

100-
{%- capture output -%}
100+
{%- capture output_image -%}
101101
![Screenshot](/assets/images/examples_ocr/hw_detection_output.png)
102102
{%- endcapture -%}
103103

104104

105105
{% include templates/input_output_image.md
106-
input=input
107-
output=output
106+
input_image=input_image
107+
output_image=output_image
108108
%}
109109

110110

111-
{:.model-param}
111+
112112
## Model Information
113113

114114
{:.table-model}

docs/_posts/aymanechilah/2024-03-15-ocr_large_handwritten_v2_en_3_2.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
22
layout: model
3-
title: Оcr large for handwritten text
3+
title: Оcr large for handwritten text v2
44
author: John Snow Labs
55
name: ocr_large_handwritten_v2
66
date: 2024-03-15
77
tags: [en, licensed]
88
task: OCR Text Detection & Recognition
99
language: en
1010
nav_key: models
11-
edition: Visual NLP 5.2.0
11+
edition: Visual NLP 5.1.2
1212
spark_version: 3.2.1
1313
supported: true
1414
article_header:

docs/_posts/aymanechilah/2024-03-15-ocr_large_handwritten_v2_opt_en_3_2.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
22
layout: model
3-
title: Оcr large for handwritten text
3+
title: Оcr large for handwritten text v2 optimized
44
author: John Snow Labs
55
name: ocr_large_handwritten_v2_opt
66
date: 2024-03-15
77
tags: [en, licensed]
88
task: OCR Text Detection & Recognition
99
language: en
1010
nav_key: models
11-
edition: Visual NLP 5.2.0
11+
edition: Visual NLP 5.1.2
1212
spark_version: 3.2.1
1313
supported: true
1414
article_header:

docs/_posts/aymanechilah/2024-03-15-ocr_large_printed_v2_en_3_2.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
22
layout: model
3-
title: Оcr large for printed text
3+
title: Оcr large for printed text v2
44
author: John Snow Labs
55
name: ocr_large_printed_v2
66
date: 2024-03-15
77
tags: [en, licensed]
88
task: OCR Text Detection & Recognition
99
language: en
1010
nav_key: models
11-
edition: Visual NLP 5.2.0
11+
edition: Visual NLP 5.1.2
1212
spark_version: 3.2.1
1313
supported: true
1414
article_header:

docs/_posts/aymanechilah/2024-03-15-ocr_large_printed_v2_opt_en_3_2.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
22
layout: model
3-
title: Оcr large for printed text
3+
title: Оcr large for printed text v2 optimized
44
author: John Snow Labs
55
name: ocr_large_printed_v2_opt
66
date: 2024-03-15
77
tags: [en, licensed]
8-
task: OCR Text Detection & Recognition
8+
task: OCR Text Detection & Recognition
99
language: en
1010
nav_key: models
11-
edition: Visual NLP 5.2.0
11+
edition: Visual NLP 5.1.2
1212
spark_version: 3.2.1
1313
supported: true
1414
article_header:

docs/_posts/aymanechilah/2024-03-15-region_cell_detection_en_3_2.md

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -121,24 +121,14 @@ val result = pipeline.transform(image_df)
121121
### Input:
122122
![Screenshot](/assets/images/examples_ocr/table_celldetector_input.png)
123123

124-
### Output:
125-
{%- capture cell_detection -%}
124+
### Cell Detection:
126125
![Screenshot](/assets/images/examples_ocr/table_celldetector_v1_cells.png)
127-
{%- endcapture -%}
128126

129-
{%- capture table_structure_recognition -%}
127+
### Table Structure Recognition:
130128
![Screenshot](/assets/images/examples_ocr/table_celldetector_v1_tsr.png)
131-
{%- endcapture -%}
132129

133130

134-
{% include templates/input_output_image.md
135-
cell_detection=cell_detection
136-
table_structure_recognition=table_structure_recognition
137-
%}
138131

139-
140-
141-
{:.model-param}
142132
## Model Information
143133

144134
{:.table-model}

docs/_posts/aymanechilah/2024-03-15-region_cell_detection_v2_en_3_2.md

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
layout: model
3-
title: Table Cell Detection
3+
title: Table Cell Detection v2
44
author: John Snow Labs
55
name: region_cell_detection_v2
66
date: 2024-03-15
@@ -122,24 +122,14 @@ val result = pipeline.transform(image_df)
122122
### Input:
123123
![Screenshot](/assets/images/examples_ocr/table_celldetector_input.png)
124124

125-
### Output:
126-
{%- capture cell_detection -%}
125+
### Cell Detection:
127126
![Screenshot](/assets/images/examples_ocr/table_celldetector_v2_cells.png)
128-
{%- endcapture -%}
129127

130-
{%- capture table_structure_recognition -%}
128+
### Table Structure Recognition:
131129
![Screenshot](/assets/images/examples_ocr/table_celldetector_v2_tsr.png)
132-
{%- endcapture -%}
133130

134131

135-
{% include templates/input_output_image.md
136-
cell_detection=cell_detection
137-
table_structure_recognition=table_structure_recognition
138-
%}
139132

140-
141-
142-
{:.model-param}
143133
## Model Information
144134

145135
{:.table-model}

docs/_posts/aymanechilah/2024-03-15-table_detection_v3_en_3_2.md

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
layout: model
3-
title: Table Detection
3+
title: Table Detection v3
44
author: John Snow Labs
55
name: table_detection_v3
66
date: 2024-03-15
@@ -91,23 +91,13 @@ val result = pipeline.transform(image_df)
9191

9292
## Example
9393

94-
{%- capture input -%}
94+
### Input:
9595
![Screenshot](/assets/images/examples_ocr/image5.png)
96-
{%- endcapture -%}
9796

98-
{%- capture output -%}
97+
### Output:
9998
![Screenshot](/assets/images/examples_ocr/image5_tdv3.png)
100-
{%- endcapture -%}
10199

102100

103-
{% include templates/input_output_image.md
104-
input=input
105-
output=output
106-
%}
107-
108-
109-
110-
{:.model-param}
111101
## Model Information
112102

113103
{:.table-model}

docs/_posts/aymanechilah/2024-04-15-chart_to_text_deplot_jsl_en_3_2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ tags: [en, licensed]
88
task: Chart to Text
99
language: en
1010
nav_key: models
11-
edition: Visual NLP 5.2.0
11+
edition: Visual NLP 5.3.0
1212
spark_version: 3.2.1
1313
supported: true
1414
article_header:

docs/_posts/aymanechilah/2024-04-15-checkbox_detector_v1_en_3_2.md

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ tags: [en, licensed]
88
task: Checkbox Detection & Recognition
99
language: en
1010
nav_key: models
11-
edition: Visual NLP 5.1.2
11+
edition: Visual NLP 5.3.1
1212
spark_version: 3.2.1
1313
supported: true
1414
article_header:
@@ -103,24 +103,13 @@ val result = pipeline.transform(image_df)
103103
### Input:
104104
![Screenshot](/assets/images/examples_ocr/cboxes.png)
105105

106-
### Output:
107-
{%- capture checkbox_detection -%}
106+
### Checkbox Detection:
108107
![Screenshot](/assets/images/examples_ocr/cboxes_out.png)
109-
{%- endcapture -%}
110108

111-
{%- capture checkbox_to_ocr -%}
109+
### Checkbox to text:
112110
![Screenshot](/assets/images/examples_ocr/cboxes_out_process.png)
113-
{%- endcapture -%}
114111

115112

116-
{% include templates/input_output_image.md
117-
checkbox_detection=checkbox_detection
118-
checkbox_to_ocr=checkbox_to_ocr
119-
%}
120-
121-
122-
123-
{:.model-param}
124113
## Model Information
125114

126115
{:.table-model}

docs/_posts/aymanechilah/2024-04-15-info_docvqa_pix2struct_jsl_base_opt_en_3_2.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,19 +99,20 @@ val results = pipeline.transform(image_and_questions).cache()
9999
### Input:
100100

101101
Questions:
102+
102103
```bash
103104
- What percentage of Suicides are caused by Motorcycle accidents?
104105
- What percentage of Suicides are caused by pedestrian accidents?
105106
- What is fifth warning sign listed here?
106107
```
107108

108109
Image:
110+
111+
109112
![Screenshot](/assets/images/examples_ocr/infographics_image.png)
110113

111114
### Output:
112115
```bash
113-
CPU times: user 302 ms, sys: 36.2 ms, total: 338 ms
114-
Wall time: 1min 9s
115116
[{'image': ImageOutput(path: 3f878eba5bf5d66635a3f2312ca2819c.jpg, exception: None),
116117
'answers': AnswersOutput(questions_and_answers: [{'score': 0.9581562, 'question': 'What percentage of Suicides are caused by Motorcycle accidents? ', 'answer': ' 4.2%'}, {'score': 0.98590666, 'question': 'What percentage of Suicides are caused by pedestrian accidents? ', 'answer': ' 2.9%'}, {'score': 0.89071125, 'question': 'What is fifth warning sign listed here? ', 'answer': ' self-harming'}])}]
117118
```

0 commit comments

Comments
 (0)