How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("image-classification", model="youngp5/eyeglasses_detection")
pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")
# Load model directly
from transformers import AutoImageProcessor, AutoModelForImageClassification

processor = AutoImageProcessor.from_pretrained("youngp5/eyeglasses_detection")
model = AutoModelForImageClassification.from_pretrained("youngp5/eyeglasses_detection")
Quick Links

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

Eye Glasses Detection

The model is aimed to detect whether there is any eyeglass in an image.

Downloads last month
2,543
Inference Providers NEW