Instructions to use HichTala/draw2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HichTala/draw2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="HichTala/draw2")# Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("HichTala/draw2") model = AutoModelForImageClassification.from_pretrained("HichTala/draw2") - Notebooks
- Google Colab
- Kaggle
HichTala commited on
Commit ·
265ec92
1
Parent(s): 47a7c17
Update draw configs
Browse files- draw_config.json +6 -1
draw_config.json
CHANGED
|
@@ -4,5 +4,10 @@
|
|
| 4 |
"max_txt_aspect_ratio": 5,
|
| 5 |
"min_txt_aspect_ratio": 1,
|
| 6 |
"max_txt_area": 11000,
|
| 7 |
-
"min_txt_area": 6000
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
}
|
|
|
|
| 4 |
"max_txt_aspect_ratio": 5,
|
| 5 |
"min_txt_aspect_ratio": 1,
|
| 6 |
"max_txt_area": 11000,
|
| 7 |
+
"min_txt_area": 6000,
|
| 8 |
+
|
| 9 |
+
"txt_box_contour_threshold": 170,
|
| 10 |
+
"bilateral_filter_d": 11,
|
| 11 |
+
"bilateral_filter_sigma_color": 17,
|
| 12 |
+
"bilateral_filter_sigma_space": 17
|
| 13 |
}
|