Is there a way to output a chart or other data visualizations in Actions on Google?
example:
User: "What is the percentage of sales this december?"
Actions: outputs a chart generated using d3js or other data viz tools
The only workaround that I can think of is by saving the chart as images then use that image to show in basic card. but the image is too small, it's not visually pleasing to use in other devices i.e. Google Home Hub.
The way to do that is generate an image and send it as a basic card. There's not another way to visually show information.
Related
Please allow me to ask a rather newbie question. So far, I have been using local tools like imagemagick or GOCR to perform the job, but that is rather old-fashioned, and I am urged to "move to google cloud AI".
The setup
I have a (training) data set of various documents (as JPG and PDF) of different kinds, and by certain features (like prevailing color, repetitive layout) I intend to classify them, e.g. as invoice type 1, invoice type 2, not an invoice. In a 2nd step, I would like to OCR certain predefined areas of each document and extract e.g. the address of the company sending the invoice and the date.
The architecture I am envisioning
In a modern platform as a service (pass), I have already set up an UI where I can upload new files. These are then locally stored in a directory with filenames (or in a MongoDB). Meta info like upload timestamp, user, original file name is stored in a DB.
The newly uploaded file should should then be submitted to google cloud which should do the classification step, and deliver back the label to be saved in the database.
The document pages should be auto-cropped, i.e. black or white margins are removed, most probably with google cloud as well. The parameters of the crop should be persisted in the DB.
In case it is e.g. an invoice, OCR should be performed (again by google cloud) for certain regions of the documents, e.g. a bounding box of spanning from the mid of the page to the right margin in the upper 10% of the cropped page. The results of the OCR should be again persisted locally.
The problem
I seem to be missing the correct search term to figure out how to do it with google cloud. Is there an google-API (e.g. REST), I can use to upload and which gives me back the results of steps 2 to 4?
I think that your best option here is to use Document AI (REST API and Libraries).
Using Document AI, you can:
Convert images to text
Classify documents
Analyze and extract entities
Additionally, for your use case, we have a new Document AI feature that is still in preview and has limited access which is the Invoice parser.
Invoice parser is similar to Form parser but for invoices instead of forms. Check out the Invoice parser page and you will see what I mean by preview and limited access.
AFIK, there isn't any GCP tool for image edition.
I am trying to build an object detection model using Google Cloud Vision. The model should draw bounding boxes around rice
What I have done so far:
I have imported an image set of 15 images
I have used the Google Cloud tool to draw ~550 bounding boxes in 10 images
Where I am stuck:
I have built models before, and the data set was automatically split into train, validation and test set. This time however, Google Cloud is not splitting the data set.
What I have tried:
Downloading the .csv with the labeled data and reimporting it into Google Cloud
Adding more labels beyond the one label I have right now
Deleting and recreating the data set
How can I get Google Cloud to split the data set?
Your problem is that Google Cloud Platform determined your train, test and validation sets when you uploaded your images. Your test and validation images are likely your last 5 images which are not available for training if you have not labeled them yet. If you label all of your images or remove those from the dataset you should be able to train. See this SO answer for more info.
You can verify this by clicking the Export Data option and downloading a CSV of your dataset: you can see that data set categories are already defined, even for images that have not yet been labeled yet.
I'm trying to generate a consolidated view in some tool like Power BI so the top management of my organization can visualize in a single page the actual health of the projects and teams (in order to avoid the need of entering each project space in Azure DevOps).
I have already consumed successfully the Azure DevOps data from Power BI and I did some consolidated charts like open work items, work items by status, open bugs and so on; but I have no idea of what is the best aproach to show burnup and burndown charts.
Is there a way of embed this kind of charts outside Azure DevOps?
PS: In Microsoft documentation here there is an example to generate a Sprint burndown chart manually (from Power BI) but from my point of view it isn't so complete like native Sprint burndown chart here
Thanks!!
I'm trying to get Google visualization line charts to zoom in as much as it can by default, and showing the newest data (region to the most right on the chart).
But I can't find any options for it on Googles line charts documentation.
The only thing I can see is explorer.maxZoomIn which is how much the user can possible zoom in.
Is there any default value I can set to have the chart zoomed in on a region?
How do I add an image to a Power BI Report? I know how to add an image to a dashboard
This refers to Power BI within a browser, not Power BI desktop
I cannot use Power BI desktop as that does not support Stream Analytics data
Cheers
Paul
If you are stuck editing in a browser, then there is no way to add an image.
There are visuals (e.g. table) that can show an image based on a URL, but the URL must already exist in the dataset. You cant edit or create columns or measures using a browser.
I do not believe there is any native way to do this, however,There is a workaround which is:-
1.Add any chart type
2.Apply any empty dataset to it
3.Under format scroll down the Plot Area
4.Add Image
Add images, videos, and more to your dashboard
By adding a tile to your dashboard, you can place an image, text box, video, streaming data, or web code on the dashboard.
Watch Amanda add tiles to a dashboard.
You can add an image, text box, video, streaming data, or web code directly to your dashboard.
Select the arrow next to Edit on the top menu, and then select Add a tile.
Select which type of tile to add:
Web content
Image
Text box
Video
Custom streaming data
Add an image
If you want to add your company logo or some other image to your dashboard, you save the image file online and link to it. Make sure security credentials aren't required to access the image file. For example, because OneDrive and SharePoint require authentication, images stored there can't be added to a dashboard this way. Also, images can't be in .svg format.
From the Add tile window, select Image > Next.
From the Add image tile window, add the image information:
a. To display a title above the image, select Display title and subtitle and enter a Title and an optional Subtitle.
b. Enter the image URL.
c. To make the tile a hyperlink, select the Set custom link and enter the URL.
When colleagues click the image or title, they'll be taken to this URL.
d. Select Apply.
On the dashboard, resize and move the image as needed.
Easy workaround:
(in Edit mode, of course)
insert a blank button (Buttons->Blank),
in the Format Pane under the "Style" section, for the "icon type" set custom
click on "browse" to choose your image file