google-cloud-vision

Can Google Cloud Vision API label faces?

回眸只為那壹抹淺笑 提交于 2020-03-26 04:29:11
问题 I am currently using google cloud-vision api for a project. I want to assign a unique ID to a face, so that it automatically detects which IDs any image contains. This way I can know which person is in the image. Can cloud-vision distinguish faces and return some unique ID for a face? 回答1: NO , and as Armin has already mentioned, Google Vision API doesn't support Facial Recognition or Face verification. It only performs face detection on an image. What you can actually do is to use tensorflow

How to import data to Dataset and retrain custom model in Google Cloud AutoML

混江龙づ霸主 提交于 2020-03-05 08:02:48
问题 I'm a new developer with GCP and I learn about Google Cloud AutoML Custom Model. but I have 2 problems with AutoML Vision. 1. I can't import data from csv file in cloud storage to Dataset. I'm using C# to call RestAPI but its error 404. below is my code. var uri = "https://automl.googleapis.com/v1beta1/projects/{project-id}/locations/us-central1/datasets/{dataset-id}:import"; var request = (HttpWebRequest)WebRequest.Create(uri); request.Method = "POST"; request.ContentType = "application/json

Is it possible to compare an image with a list of images? [google-cloud-vision]

那年仲夏 提交于 2020-03-05 05:09:35
问题 I'm trying to compare one dog image with a bucket full of dog images and get their similarity, does anybody have some clue to do that? 回答1: You could try out Vision API's ProductSearch: https://cloud.google.com/vision/product-search/docs/ You build a ProductSet of Products. You add reference images to each Product. Later, you send a query image in and it will return the most visually similar results in your ProductSet. 回答2: You can use my Ruby gem that implementes two perceptual image hashing

How to use a Google service account on a Reactjs Firebase project for using APIs?

旧巷老猫 提交于 2020-03-04 18:17:08
问题 I am trying to integrate a Google service account to my reactjs-Firebase project but I seem to not understand how to do it. What I have tried: I selected JSON as my KEY type for the service account and downloaded it to my system and tried to set it using Application default credentials. (didn't work) but nothing seems to work. and I don't understand how to use the service account to call API in this react-firebase project. am I supposed to authenticate it using Application default credentials

Google OCR language hints

青春壹個敷衍的年華 提交于 2020-01-30 09:09:10
问题 It says on the documentation page here: https://cloud.google.com/vision/docs/ocr that you can specify language hints to help OCR more accurately detect text in the image. Does anyone know where I would specify a language hint in my code? I am programming it using a .net console application. using Google.Cloud.Vision.V1; using System; namespace GoogleCloudSamples { public class QuickStart { public static void Main(string[] args) { // Instantiates a client var client = ImageAnnotatorClient

Google OCR language hints

冷暖自知 提交于 2020-01-30 09:07:41
问题 It says on the documentation page here: https://cloud.google.com/vision/docs/ocr that you can specify language hints to help OCR more accurately detect text in the image. Does anyone know where I would specify a language hint in my code? I am programming it using a .net console application. using Google.Cloud.Vision.V1; using System; namespace GoogleCloudSamples { public class QuickStart { public static void Main(string[] args) { // Instantiates a client var client = ImageAnnotatorClient

oauth2client.client.HttpAccessTokenRefreshError: invalid_grant: Invalid JWT

╄→尐↘猪︶ㄣ 提交于 2020-01-15 03:12:54
问题 I am using Google Cloud Vision API on my Raspberry PI. It works fine when I use it on my home (on which the cloud account was first accessed) network but if I access the API from a different network it raises a token refresh error. I have synchronized the time using NTP but is of no help. Detailed error: oauth2client.client.HttpAccessTokenRefreshError: invalid_grant: Invalid JWT: Token must be a short-lived token (60 minutes) and in a reasonable timeframe. Check your iat and exp values and

Is it possible for either Microsoft Computer Vision API or Google's Cloud Vision API to get a location for objects?

こ雲淡風輕ζ 提交于 2020-01-04 02:03:35
问题 I am trying to develop an application that needs to know the location of tagged objects in an image. Knowing that there is a "piano" in an image is not enough, I need to know where that piano is in the image. Both Microsoft's Computer Vision API and Google's Cloud Vision API provide some form of cropping suggestion/smart thumbnail generation service which leads me to think that the location of certain objects is being detected - however is there a way to get that information (like a bounding

I want to use PDF/TIFF Document Text Detection service from google cloud [closed]

☆樱花仙子☆ 提交于 2019-12-25 00:57:25
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed last year . Google cloud vision api is very powerful and now they have support for pdf format, but the documentation is getting me confused, can someone pls guide a noob how to set up and process a pdf file using vision api. kind of like starter tutorial ref: https://cloud.google.com/vision/docs/pdf#vision-web

Google Cloud Vision getting Invalid value at 'requests[0].image.content'

十年热恋 提交于 2019-12-24 02:20:56
问题 I am getting this error: Invalid value at 'requests[0].image.content' (TYPE_BYTES), "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/... The image is encoded properly (it works using another visual search service that requires the same base64 encoding, metamind), what's wrong with this call? This is from AngularJS $http service: $http({ method: "POST", data: '{"requests":[{"image":{"content":"' +