nehulagrawal commited on
Commit
bf927c9
1 Parent(s): 382b1f8

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +110 -3
README.md CHANGED
@@ -8,7 +8,15 @@ tags:
8
  - vision
9
  - object-detection
10
  - pytorch
11
-
 
 
 
 
 
 
 
 
12
  library_name: ultralytics
13
  library_version: 8.0.43
14
  inference: false
@@ -25,20 +33,74 @@ model-index:
25
  name: mAP@0.5(box)
26
  ---
27
 
 
 
 
 
28
  <div align="center">
29
  <img width="640" alt="foduucom/table-detection-and-extraction" src="https://huggingface.co/foduucom/table-detection-and-extraction/resolve/main/thumbnail.jpg">
30
  </div>
31
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
  ### Supported Labels
33
 
34
  ```
35
  ['bordered', 'borderless']
36
  ```
37
 
38
- ### How to use
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
39
 
40
- - Install [ultralyticsplus](https://github.com/fcakyon/ultralyticsplus):
 
 
 
 
41
 
 
 
 
 
 
 
 
42
  ```bash
43
  pip install ultralyticsplus==0.0.28 ultralytics==8.0.43
44
  ```
@@ -69,3 +131,48 @@ render = render_result(model=model, image=image, result=results[0])
69
  render.show()
70
  ```
71
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  - vision
9
  - object-detection
10
  - pytorch
11
+ - table detection
12
+ - table extraction
13
+ - table classification
14
+ - document analysis
15
+ - unstructured document
16
+ - unstructured table extraction
17
+ - structured table extraction
18
+ - unstructured table detection
19
+ - structured table detection
20
  library_name: ultralytics
21
  library_version: 8.0.43
22
  inference: false
 
33
  name: mAP@0.5(box)
34
  ---
35
 
36
+ Sure, here's the combined information:
37
+
38
+ ---
39
+
40
  <div align="center">
41
  <img width="640" alt="foduucom/table-detection-and-extraction" src="https://huggingface.co/foduucom/table-detection-and-extraction/resolve/main/thumbnail.jpg">
42
  </div>
43
 
44
+ # Model Card for YOLOv8s Table Detection
45
+
46
+ ## Model Summary
47
+
48
+ The YOLOv8s Table Detection model is an object detection model based on the YOLO (You Only Look Once) framework. It is designed to detect tables, whether they are bordered or borderless, in images. The model has been fine-tuned on a vast dataset and achieved high accuracy in detecting tables and distinguishing between bordered and borderless ones.
49
+
50
+ ## Model Details
51
+
52
+ ### Model Description
53
+ The YOLOv8s Table Detection model serves as a versatile solution for precisely identifying tables within images, whether they exhibit a bordered or borderless design. Notably, this model's capabilities extend beyond mere detection – it plays a crucial role in addressing the complexities of unstructured documents. By employing advanced techniques such as bounding box delineation, the model enables users to isolate tables of interest within the visual content.
54
+
55
+ What sets this model apart is its synergy with Optical Character Recognition (OCR) technology. This seamless integration empowers the model to not only locate tables but also to extract pertinent data contained within. The bounding box information guides the cropping of tables, which is then coupled with OCR to meticulously extract textual data, streamlining the process of information retrieval from unstructured documents.
56
+
57
+ We invite you to explore the potential of this model and its data extraction capabilities. For those interested in harnessing its power or seeking further collaboration, we encourage you to reach out to us at info@foduu.com. Whether you require assistance, customization, or have innovative ideas, our collaborative approach is geared towards addressing your unique challenges. Additionally, you can actively engage with our vibrant community section for valuable insights and collective problem-solving. Your input drives our continuous improvement, as we collectively pave the way towards enhanced data extraction and document analysis.
58
+
59
+ - **Developed by:** FODUU AI
60
+ - **Model type:** Object Detection
61
+ - **Task:** Table Detection (Bordered and Borderless)
62
+
63
+ Furthermore, the YOLOv8s Table Detection model is not limited to table detection alone. It is a versatile tool that contributes to the processing of unstructured documents. By utilizing advanced bounding box techniques, the model empowers users to isolate tables within the document's visual content. What sets this model apart is its seamless integration with Optical Character Recognition (OCR) technology. The combination of bounding box information and OCR allows for precise data extraction from the tables. This comprehensive approach streamlines the process of information retrieval from complex documents.
64
+
65
+ User collaboration is actively encouraged to enrich the model's capabilities. By contributing table images of different designs and types, users play a pivotal role in enhancing the model's ability to detect a diverse range of tables accurately. Community participation can be facilitated through our platform or by reaching out to us at info@foduu.com. We value collaborative efforts that drive continuous improvement and innovation in table detection and extraction.
66
+
67
  ### Supported Labels
68
 
69
  ```
70
  ['bordered', 'borderless']
71
  ```
72
 
73
+ ## Uses
74
+
75
+ ### Direct Use
76
+
77
+ The YOLOv8s Table Detection model can be directly used for detecting tables in images, whether they are bordered or borderless. It is equipped with the ability to distinguish between these two categories.
78
+
79
+ ### Downstream Use
80
+
81
+ The model can also be fine-tuned for specific table detection tasks or integrated into larger applications for furniture recognition, interior design, image-based data extraction, and other related fields.
82
+
83
+ ### Out-of-Scope Use
84
+
85
+ The model is not designed for unrelated object detection tasks or scenarios outside the scope of table detection.
86
+
87
+ ## Bias, Risks, and Limitations
88
+
89
+ The YOLOv8s Table Detection model may have some limitations and biases:
90
 
91
+ - Performance may vary based on the quality, diversity, and representativeness of the training data.
92
+ - The model may face challenges in detecting tables with intricate designs or complex arrangements.
93
+ - Accuracy may be affected by variations in lighting conditions, image quality, and resolution.
94
+ - Detection of very small or distant tables might be less accurate.
95
+ - The model's ability to classify bordered and borderless tables may be influenced by variations in design.
96
 
97
+ ### Recommendations
98
+
99
+ Users should be informed about the model's limitations and potential biases. Further testing and validation are advised for specific use cases to evaluate its performance accurately.
100
+
101
+ ## How to Get Started with the Model
102
+
103
+ To begin using the YOLOv8s Table Detection model, follow these steps:
104
  ```bash
105
  pip install ultralyticsplus==0.0.28 ultralytics==8.0.43
106
  ```
 
131
  render.show()
132
  ```
133
 
134
+ ## Training Details
135
+
136
+ ### Training Data
137
+
138
+ The model is trained on a diverse dataset containing images of tables from various sources. The dataset includes examples of both bordered and borderless tables, capturing different designs and styles.
139
+
140
+ ### Training Procedure
141
+
142
+ The training process involves extensive computation and is conducted over multiple epochs. The model's weights are adjusted to minimize detection loss and optimize performance.
143
+
144
+ #### Metrics
145
+
146
+ - mAP@0.5 (box):
147
+ - All: 0.962
148
+ - Bordered: 0.961
149
+ - Borderless: 0.963
150
+
151
+ ### Model Architecture and Objective
152
+
153
+ The YOLOv8s architecture employs a modified CSPDarknet53 as its backbone, along with self-attention mechanisms and feature pyramid networks. These components contribute to the model's ability to detect and classify tables accurately, considering variations in size, design, and style.
154
+
155
+ ### Compute Infrastructure
156
+
157
+ #### Hardware
158
+
159
+ NVIDIA GeForce RTX 3060 card
160
+
161
+ #### Software
162
+
163
+ The model was trained and fine-tuned using a Jupyter Notebook environment.
164
+
165
+ ## Model Card Contact
166
+
167
+ For inquiries and contributions, please contact us at info@foduu.com.
168
+
169
+ ```bibtex
170
+ @ModelCard{
171
+ author = {Nehul Agrawal and
172
+ Pranjal Singh Thakur},
173
+ title = {YOLOv8s Table Detection},
174
+ year = {2023}
175
+ }
176
+ ```
177
+
178
+ ---