Instructions to use PSynx/widget-detector-yolo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ultralytics
How to use PSynx/widget-detector-yolo with ultralytics:
# Couldn't find a valid YOLO version tag. # Replace XX with the correct version. from ultralytics import YOLOvXX model = YOLOvXX.from_pretrained("PSynx/widget-detector-yolo") source = 'http://images.cocodataset.org/val2017/000000039769.jpg' model.predict(source=source, save=True) - Notebooks
- Google Colab
- Kaggle
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -68,11 +68,15 @@ for page in result.pages:
|
|
| 68 |
result.save("output.json")
|
| 69 |
```
|
| 70 |
|
| 71 |
-
## Example Output
|
| 72 |
|
| 73 |
-
Here is an example of
|
| 74 |
|
| 75 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 76 |
|
| 77 |
## References
|
| 78 |
*CommonForms: A Large, Diverse Dataset for Form Field Detection*
|
|
|
|
| 68 |
result.save("output.json")
|
| 69 |
```
|
| 70 |
|
| 71 |
+
## Example Input and Output
|
| 72 |
|
| 73 |
+
Here is an example of a document before and after widget detection:
|
| 74 |
|
| 75 |
+
**Input Document:**
|
| 76 |
+

|
| 77 |
+
|
| 78 |
+
**Detection Output:**
|
| 79 |
+

|
| 80 |
|
| 81 |
## References
|
| 82 |
*CommonForms: A Large, Diverse Dataset for Form Field Detection*
|