Japanese content mismatch while extracting text from Google cloud vision api - google-cloud-vision

Is anybody faced this issue while using the Google cloud vision api ?
I have uploaded a image with Japanese content to the Google cloud vision api after execution the extracted text return as json format in the the extracted text is mismatch with the uploaded image.
But the word meaning is same.

Related

Google translating companies' names instead of transliterating

I am making a multilingual app using Google Translation service. My app mainly consist of financial data.
In my app there is a part where I get list of stock name which all be part of translation. As the stock name is a brand in itself it needs to be transliterate instead of translation. Google is translating all the stocks name instead of transliterating. Before there was a dedicated API for transliteration but after deprecation of API I am unable to do it with Google translation service.

How do i tell Openrefine to fetch some data trough the google and facebook API (Grel)

I have a list of around 500 foundations and companies and i need to fetch more data like address, description, lat long, email or phone number, from the google and FB APIs I have found something more or less like this, but it won't work in OpenRefine, i need some help please.
I think it is possible to do beacause there is an addon called spotlight for spreadsheets that is able to fetch Google URLs and Lat Long https://www.youtube.com/watch?v=Vj1v3QfyrgA&feature=youtu.be
https://maps.googleapis.com/maps/api/place/findplacefromtext/output?parameters/json?input=value&inputtype=textquery&fields=photos,formatted_address,name,rating,email,geometry&key=YOURKEY
I have created the FB and Google places and google staic map API already. I have tried different queries, but it won't work unless it is in GREL
value.parseJson().geonames[0].lng
value.parseJson().geonames[0].geonameId
value.parseJson().geonames[0].lat
From the error "This API project is not authorized to use this API" the first thing to check is that you have enabled the Places and/or Geocoding API in the Google Developer console, and you have setup an API Key and that it is showing as a credential for the Places API and/or the Geocoding API
Next step, take OpenRefine out of the equation and check you can get a simple API call working in your browser - using one of the Google Places API examples:
https://maps.googleapis.com/maps/api/place/findplacefromtext/json?input=Museum%20of%20Contemporary%20Art%20Australia&inputtype=textquery&fields=photos,formatted_address,name,rating,opening_hours,geometry&key=<INSERT YOUR API KEY HERE>
If that gives you the same error, you know the issue is not with OpenRefine.
If you are still having problems in OpenRefine make sure you are creating URLs in OpenRefine that are valid for the appropriate Google API based on the documentation for that API and that you are using the correct API key.

Google Charts: Maps - requesting API Key

I have some doubts about Google Charts library when we talk about maps and GeoCharts. I was having this issue that maps stopped working when simply changed the name of the file and this error popped up in my browser console:
Google Maps API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys
I searched over the web and found some questions here declaring that the maps service VIA GoogleCharts (visualization) didn't have limitations nor charges. BUT, I was able to resolve the problem above using a free JS Map API key as oriented here: https://github.com/google/google-visualization-issues/issues/2292
It's a standard free key, so no charges, but there are limitations, right?
What about geocoding??
So, wrapping up all, considering Google Charts scope:
1) Is there a limitation or charge for Google Charts Maps & Geochart view?
2) Is there a limitation or change for geocoding data?
Thanks you for the clarification!

DownloadType for UnsampledReport in the google analytics api SDK

The UnsampledReport class in the google analytics api SDK has a method on it setDownloadType that takes a string as a parameter.
https://mavenbrowse.pauldoo.com/central/com/google/apis/google-api-services-analytics/v3-rev115-1.20.0/google-api-services-analytics-v3-rev115-1.20.0-javadoc.jar/-/com/google/api/services/analytics/model/UnsampledReport.html#setDownloadType(java.lang.String)
The value 'GOOGLE_DRIVE' tells Google to unload the report as a CSV onto a google drive path.
We want to unload the report onto a google cloud storage bucket though. We know this is possible because the UnsampledReport class also has a nested CloudStorageDownloadDetails class, but can't figure out what to pass to setDownloadType to get it to work.
Any help would be appreciated!
For the Unsampled Reports API the downloadType is not writable on insert despite the generated client libraries creating a setDownloadType() method.
You will need to contact your Analytics Premium support to configure your account to propagate your generated report to either Google Drive or Cloud Storage.

I got my Google API browser key. what should I do next?

I am working on an ASP.NET website that uses google maps API. as sited in the tutorial in google.com I need a google API key to make it work. I got that key, but every time that I run my website, I get the following error:
Google has disabled use of the Maps API for this application. The
provided key is not a valid Google API Key, or it is not authorized
for the Google Maps Javascript API v2 on this site. If you are the
owner of this application, you can learn about obtaining a valid key
here: http://code.google.com/apis/maps/documentation/javascript/v2/introduction.html#Obtaining_Key
What could the problem be? The tutorial says nothing about what to do with the API key. It just says go to services and activate google Maps API v2 to get a key.
Thanks!
Did you include the API key into the URL when you load the Google Maps script?
From the link to the docs in the error message:
<script src="http://maps.google.com/maps?file=api&v=2&key=abcdefg&sensor=true_or_false"
type="text/javascript"></script>
The link used to load the script is:
http://maps.google.com/maps?file=api&v=2&key=abcdefg&sensor=true_or_false
You need to replace that abcdef with the API key you got from Google Maps.

Resources