prithivMLmods commited on
Commit
04b61d2
·
verified ·
1 Parent(s): e943ee5

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +20 -0
README.md CHANGED
@@ -19,6 +19,10 @@ tags:
19
 
20
  > **Formula-Text-Detection** is a vision-language encoder model fine-tuned from **google/siglip2-base-patch16-224** for **binary image classification**. It is built using the **SiglipForImageClassification** architecture to distinguish between **mathematical formulas** and **natural text** in document or image regions.
21
 
 
 
 
 
22
  ```py
23
  Classification Report:
24
  precision recall f1-score support
@@ -100,6 +104,22 @@ iface = gr.Interface(
100
  if __name__ == "__main__":
101
  iface.launch()
102
  ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
103
 
104
  ---
105
 
 
19
 
20
  > **Formula-Text-Detection** is a vision-language encoder model fine-tuned from **google/siglip2-base-patch16-224** for **binary image classification**. It is built using the **SiglipForImageClassification** architecture to distinguish between **mathematical formulas** and **natural text** in document or image regions.
21
 
22
+ > [!Note]
23
+ > Note: This model works best with plain text or formulas using the same font style
24
+
25
+
26
  ```py
27
  Classification Report:
28
  precision recall f1-score support
 
104
  if __name__ == "__main__":
105
  iface.launch()
106
  ```
107
+ ## **Demo Inference**
108
+
109
+ > [!Important]
110
+ > Text
111
+
112
+
113
+ ![Screenshot 2025-04-30 at 04-57-23 Formula-Text-Detection.png](https://cdn-uploads.huggingface.co/production/uploads/65bb837dbfb878f46c77de4c/KulSEk6AEV-QgMX4rFimq.png)
114
+ ![Screenshot 2025-04-30 at 04-57-50 Formula-Text-Detection.png](https://cdn-uploads.huggingface.co/production/uploads/65bb837dbfb878f46c77de4c/3y1nWn2moOgga939LlhzB.png)
115
+ ![Screenshot 2025-04-30 at 04-58-16 Formula-Text-Detection.png](https://cdn-uploads.huggingface.co/production/uploads/65bb837dbfb878f46c77de4c/xvliPSGTHtA_bkEl5utIM.png)
116
+
117
+ > [!Important]
118
+ > Formula
119
+
120
+ ![Screenshot 2025-04-30 at 04-58-51 Formula-Text-Detection.png](https://cdn-uploads.huggingface.co/production/uploads/65bb837dbfb878f46c77de4c/4TbEz_vLKochuTuNiq7cH.png)
121
+ ![Screenshot 2025-04-30 at 04-59-28 Formula-Text-Detection.png](https://cdn-uploads.huggingface.co/production/uploads/65bb837dbfb878f46c77de4c/fS_EoLZ7pnfWoWB5pVooL.png)
122
+ ![Screenshot 2025-04-30 at 05-01-42 Formula-Text-Detection.png](https://cdn-uploads.huggingface.co/production/uploads/65bb837dbfb878f46c77de4c/utc88h1KQLLXKB-qllT4v.png)
123
 
124
  ---
125