Want to change color of a shape in google docs using google API - api

Google Docs api returns EmbeddedObjectProperties always blank.
I have placed a drawing in google doc header and footer and i want to change color of drawing using google drive api but every time unable to get drawing properties. also embeddedDrawingProperties response is blank every time in api documentation there is no explanation for embeddedDrawingProperties.
EDIT: Her Question is related to google docs api. She wants to change color of a shape placed in header of google docs but she is unable to get the shape object and its properties.

Related

KML labels not appearing in Google Map API

I have created a kml with LabelStyle showing Label size and labelcolor.
If I open google maps and import the kml the labels appear, however if I use the api and link to the kml. the markers appear but without the label. Is this a limitation of the api or am I doing something wrong
<LabelStyle> is not supported by the Google Maps JavaScript API v3
See the documentation:
KML element
Supported in the API?
<LabelStyle>
no

Google AutoML - detect form fields on an image

Is there a way to get coordinates from an form field on an image (scanned image), by using Google vision?
With the (LocalizedObjectAnnotation) can Google detect only objects and creatures
Google OCR (fullTextAnnotation) detects only text
Scenario:
I got an scanned formular. From this scan i would get all form field-positions (input-fields).
It don't work with one or both google method's "LocalizedObjectAnnotation" and "fullTextAnnotation". Because one detect only objects / creatures and the other one only text. So both can't find the input-field in the image.
Has anyone an idee how i get the coordinates for the input-fields?

Incorrect image displayed when Gigya opens Google Plus share modal

I'm working with Gigya's Share Bar javascript api and am having an issue with google plus sharing. I have separate UserAction objects for facebook, twitter and google plus to display different text and linkbacks. I'm adding a media item (image) to the facebook and google plus actions to share that image along with the text. Facebook is sharing the correct image, however, google plus is displaying a different image. I have no idea where this image is coming from. Text and link are correct on both, but the image is frustratingly incorrect.
Has anyone encountered an issue like this? Is there something different that must be done for google plus shares?
Test your target URL with Google's structured data testing tool.
Read the snippet documentation to understand how the Google crawler determines what to use in the share preview.

Google Custom Search API Search Image by Image URL

I am working on an application which will have an option for users to upload images. Once uploaded, the application will show other images from the web which look exactly similar, whether or not of the same size.
For this, I will create a temporary URL for the image so that I could provide Google custom search API the URL of the image. I would expect in response, URL's of images that are exactly the same or similar to it, perhaps in JSON format.
I did find a similar question posted in January. Till then Google did not support anything like this, apparently:
Google Javascript Custom Search API: Search images by image url
One can also simply do:
http://images.google.com/searchbyimage?site=search&image_url={Image URL}
Since that is not part of an official API, it may not be right to use this method.
Can someone help me?
Well, the answer quite simply is TinEye Commercial API https://api.tineye.com/welcome. I was looking in the wrong place I guess, I did not have any luck with Google Custom Search API.
Would you need a simple result?
If you are, you can use Vision API of Google.
This is very simple.
https://cloud.google.com/vision/
You can try on the top.
First, access the URL.
Second, upload your image file on the "Try API"
Third, click "JSON" tab menu on the result.
You can be seen JSON about similar images.

Does Google Contacts API Support High Resolution Pictures?

Google recently added high resolution support (720x720) for contacts' images via the gmail interface. Previously, it would to convert all images to 96x96. However, when I post an image using the Contacts API it still gets converted to 96x96. I currently use the picture url in the link ref http://schemas.google.com/contacts/2008/rel#photo. Is there a way to post higher resolution images or are we still stuck at 96x96 if we use the Contacts API? Is there another programmatic way to accomplish this?
Thanks!
I'm assuming that you are using the Google+ API to retrieve their profile and are looking at the profile image, as seen here using the API explorer:
https://developers.google.com/apis-explorer/#search/profile/m/plus/v1/plus.people.get?userId=107345380056943591322&_h=1&
In the response is an image URL:
"image": {
"url": "https://lh3.googleusercontent.com/-2N7UIsa-tLI/AAAAAAAAAAI/AAAAAAAAAK8/XJiZoMReZr0/photo.jpg?sz=50"
},
You can alter the sz parameter to indicate the width/height of the rendered image, for example:
https://lh3.googleusercontent.com/-2N7UIsa-tLI/AAAAAAAAAAI/AAAAAAAAAK8/XJiZoMReZr0/photo.jpg?sz=500
There are other url formats, it's not clear which url you are getting but if you paste an example, I'd be happy to help.