Google Cloud Vision
APIGoogle Cloud API for image labels, OCR, faces, logos and SafeSearch
- Erişim
- Google Cloud credentials
Hakkında
Google Cloud image analysis API that returns labels, printed and handwritten text, faces, landmarks, logos, objects and SafeSearch ratings for explicit content. Each feature run on each image is billed as one unit; the first 1,000 units a month are free.
Neler yapabilirsin
- Extract printed and handwritten text from photos, scans and PDF pages
- Label images, find logos and landmarks, and find where an image appears online
- Rate uploads for adult, violent and racy content with SafeSearch
Başlarken
- Enable billing and the Cloud Vision API in a Google Cloud project
- Sign in with the gcloud CLI to get an access token
Örnek kod
curl -X POST \
-H "Authorization: Bearer $(gcloud auth print-access-token)" \
-H "x-goog-user-project: $PROJECT_ID" \
-H "Content-Type: application/json; charset=utf-8" \
-d '{"requests": [{"image": {"source": {"imageUri": "gs://cloud-samples-data/vision/ocr/sign.jpg"}},
"features": [{"type": "TEXT_DETECTION"}, {"type": "SAFE_SEARCH_DETECTION"}]}]}' \
"https://vision.googleapis.com/v1/images:annotate"Ayrıntılar
- Barındırma
- Hazır hizmet (bulut)
- Kullanılabildiği yerler
- Tüm dünya
- Resmi SDK'lar
- C#, Go, Java, JavaScript/TypeScript, PHP, Python, Ruby
- MCP sunucusu
- Yok
- Entegrasyonlar
- Google Cloud