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
| { | |
| "max_aspect_ratio": 1.90, | |
| "min_aspect_ratio": 1.00, | |
| "max_txt_aspect_ratio": 5, | |
| "min_txt_aspect_ratio": 1, | |
| "max_txt_area": 11000, | |
| "min_txt_area": 6000, | |
| "txt_box_contour_threshold": 170, | |
| "bilateral_filter_d": 11, | |
| "bilateral_filter_sigma_color": 17, | |
| "bilateral_filter_sigma_space": 17 | |
| } |