call google vision Api from Flutter - flutter

I want to make a Flutter app where I detect text and number from an image using Google Cloud vision API.
I see the API of Google Cloud Vision is here.
I know that from Flutter, I need to create a json file, with content is an image.
Then, sending that json file to Google Cloud vision endpoint, and get the result back.
However, how can I implement it in Flutter. Is there any example using this.

Related

How to proceed with flutter app to display outputs from deep learning model?

I have trained a model which takes a pointcloud as input and outputs the bounding boxes on Images on google colab.
Now, I want to build a flutter app where the inputs(pointcloud) will be uploaded and gets the output image as result.
I have explored the use of tflite,but it doesn't support some of the tensorflow operations.
I can think of two solutions.
1)I wish I could connect my flutter app to google colab,run the cells and save the output to my drive from where I could return it to my flutter app. Is this possible? If so,how can I do it?
Using Google Cloud Platform. There are wide range of tools available in GCP and I have no idea which one to use. Can I know the possible and easy to implement ways?
Kindly share your thoughts on How I need to proceed.

How to send images using "flutter_open_whatsapp" package?

I am building an app that has to be able to send text and images directly to a specific WhatsApp number using this package https://pub.dev/packages/flutter_open_whatsapp. But the plugin has not implemented for the multimedia data. What exactly am I supposed to do?

How to implement Agora Cloud Recording api in flutter?

I am looking into using the Agora Cloud recording API to record the user's video through the device camera in flutter. The Agora website has the RESTful API calls needed, but I can't figure how to combine that with the camera? How do I have to start the video channel and then call the api?
Agora does provide an on-premise cloud recording solution, so you can easily integrate that to your app. Here is a quickstart guide that you can refer: https://docs.agora.io/en/Recording/recording_api_cpp?platform=Linux
You can also have a look at these sample repositories over here: https://github.com/AgoraIO/Basic-Recording/

How to use Google Text-To-Speech on Unity?

I had started out doing a games/apps (just make for fun so doesn't have exciting gameplay) where it can read out the word that show on screen. Had tested out http://translate.google.com/translate_tts?tl=en&q=Hello%20World , but it doesn't work out so I started a trial on Google Cloud Platform, and now I stuck on how to use its Text-To-Speech function on Unity. Is it possible to use Google TTS on Unity? Cause, when I use using Google.Could.Text-To-Speech.V1 it shows error where it doesn't recognize Google.
The text-to-speech API works by making an HTTP POST request to https://texttospeech.googleapis.com/v1/text:synthesize, with the text in the body of the request. I'm not familiar with Unity3d, but a quick check of the documentation shows you can use UnityWebRequest.Post to make a HTTP POST request - note that this means your game must be online.
Check the quickstart guide for more information.
Alternatively, a quick Google search shows there are various plugins/assets available directly for Unity3d which may be better suited.

Movie making using Google earth COM API

I am trying to programatically generate movie/video file using Google Earth COM APIs (along with Google earth Pro). But unfortunately I could not find any COM APIs to automate movie maker feature in Google earth pro.
Basically my project idea is that: client will provide tour information to server, then some server side service will launch google earth pro locally on server to export tour video to local file, which then will streamed down to client. So client will not need to have google earth plugin installed.
and also as per my knowledge generating movie file using Google earth plugin is not possible (please correct me if I am wrong)
Can anyone point me to some solution?
The Google Earth COM API is being depreciated and developers are being encouraged to use the Google Earth Plugin Api instead.
Using the plug-in in an embedded application would easily allow you to achieve this as you could just capture the frames from the plug-in and then render them to a video file using your desired codec.
I have put together a library of controls that work with the Google Earth Api in managed code. They may not be exactly what you need but they should give some idea of the main principals (e.g. loading, geocoding, screen-grab, etc)