이미지 분류
기기 내 비전 모델로 이미지를 분류합니다(점수와 함께 상위 5개 라벨). 이미지는 기기를 벗어나지 않으며, 모델은 처음 사용할 때 다운로드됩니다.
First use downloads the ViT image-classification model (Xenova/vit-base-patch16-224, quantized build) from Hugging Face. After the download, classification runs entirely on your device and your image is never uploaded anywhere.
사용 방법
- Choose an image file (on a phone you can also take a photo).
- Press Classify. The first run downloads the model.
- The top 5 predictions appear with their scores.
참고 사항
The model is Xenova/vit-base-patch16-224 (the 1,000 ImageNet-1k classes). Only the first use downloads the model files from Hugging Face; classification itself runs on-device with Transformers.js and your image is never uploaded. Labels are English class names, and scores are the model's confidence, not a guarantee of correctness.
자주 묻는 질문
- Why are some labels odd or wrong?
- ImageNet classes are very fine-grained (dog breeds, car models, …) and a general model misses on subjects outside its strengths. Treat results as indicative.
- The download is slow or fails
- The model download can take a while. Retry on a good connection. Downloaded files are cached by the browser, so later visits start much faster.