Tag Archives: cloud

A Myth comes true with Google Cloud Vision API

Cloud Vision API by Google Cloud is the latest addition for the Google Cloud platform. Last week it has been made a beta release and been allowed for the developers around the world to try and experience it. 2 month of free usage is offered by the Google at the moment as a promotion.

This API is already being used in the Google Photo app. You may have already experienced it’s power. Analyzing objects in a photo, face detection, geographical location detection and fast search are some of their features.

Features

So I was able to register for it lat week and was already able to build an app. But as it was still in the beta. Faced some problem(Can be found with solution in Stack overflow) on creating the API key for Android. But was able to find a quick fix as many people are facing the issue.

But when I was going through the API and I found many awesome feature that just a myth till today. Still there is no proper documentation but you can find some of the popular features and getting started docs listed here.

Here are the High Lighted APIs listed down
vision

You can also try Google Cloud Vision API here

Pricing is also seems reasonable compared to the amount of processing that they have promised to do. It will be a big break through in the history of the image processing technology.

You can check out the Android app I have developed using the ‘FACE_DETECTION’ API, if you love selfie you will Love it. Download the Selfie Mood app here
selfie mood

What is Google Cloud Messaging

Google Cloud Messaging (GCM) is a service for both Android-powered device and Chrome instances to send and receive message data from servers. The GCM service handles all aspects of queuing of messages and delivery to the target Android application running on the target device and the signed-in Chrome users. GCM is completely free no matter how big your messaging needs are, and there are no quotas. [1][2]

cloudmessaging

Image courtesy – http://www.androidhive.info%5B3%5D

When your app is in the foreground, using standard web requests or sockets to get information is the right choice. This isn’t what push messaging is meant to replace. When your app is in the background though, don’t you dare poll for updates. This is exactly the type of bad behavior that push messaging makes obsolete.

Why does it matter so much? Simple. Polling is worse by all measures—it’s harder on your servers, less timely, and affects your users’ battery life. There’s almost no better way to get someone to uninstall your app than to have them see it at the top of their battery usage screen.[4]

References:
[1]https://developer.android.com/google/gcm/index.html
[2]https://developer.chrome.com/apps/cloudMessaging
[3]http://www.androidhive.info/2012/10/android-push-notifications-using-google-cloud-messaging-gcm-php-and-mysql/
[4]https://blog.pushbullet.com/2014/02/12/keeping-google-cloud-messaging-for-android-working-reliably-techincal-post/

 

Google Glass Deep Inside(In Programers’ View )

Basically the Google Glass runs Android OS. It means if you know Android(or Java) you can easily write apps for the glass.

If you want a basic idea about what is google glass please read my previous post.

But there are some important stuffs you have to look into and research, before you jump into the app development. With limited hardware resources, the capability of the devices is restricted. At the time of writing this article the Explorer Edition 7 update is released and we can do some stuffs like, take a photo, record a video, start a hangout, send an email, browse web and some other stuffs.

The device is not like phone, where it does not have a touch display, the glass works by voice commands and mostly by tapping and scrolling the side of the glass. So you cannot expect to add buttons sliders. Still an SDK is not released to develop app for the glass.

If you have been wondering on what would it take for someone to get up and running with google glass development. Following is a list of technologies that forms the technology stack for google glass:

  • Web service protocol: REST
  • Message format: JSON
  • Google Mirror  API: Java, .NET, PHP, Python, javascript, Ruby

Well, we can start on with what Google Glassers have termed as “Glassware“. Glassware is a piece of software built on top of Google Mirror API. Google Mirror API is a set of Restful web services which help to communicate to and fro with google glass devices. Lets look at the diagram below to understand a little better.

GoogleGlass1

Above depicts interaction between google glass device and glasswares based on google mirror API.

What one can do using Google Mirror API?

  • Creating new cards on a timeline
  • Updating current cards on a timeline
  • Receiving user-initiated input exposed through a card’s menu
  • Subscribing to notifications from Glass devices to be notified of user actions

lets see the Google Glass – Mirror API – Glasswares – High Level Architecture

google-glass-high-level-architecture

Lets try and understand the above architecture:

  • Glass users subscription to your service: You develop one or more web-based service for google glass and publish. These services can be termed as glasswares. Glass users subscribes to your service by logging on to your website authenticating themselves using OAuth 2.0
glass camera
User subscription by visiting a glassware site
  • Glassware updates using Mirror API: Your google glassware then starts publishing to google glass cloud using mirror API. To be able to that, you must register your service with google cloud.
  • Google Glass synchronizes with glass device: This is third aspect. Once your glassware publishes to google cloud using mirror api, google glass then synchronizes your updates to your subscribed users.

You can control the glassware sites you have subscribed by logging in to MyGlass account . You can access this with the MyGlass Android App too.

final
User can On and Off Notifications to glass from this online site

In the above image you can see my glassware “Batman’s Layer” is listed with the other glasswares I have subscribed.

Ok then In my next post we will see what you needed to start developing for Google Glass …!

References: http://vitalflux.com/tag/google-glass-2/page/2/

CLOUD COMPUTING(Basic Concept)

Hey guys, what have you heard about CLOUD computing? Sure you must have heard something, don’t say no, it has become very popular in last 3 or 5 years. These are the things I heard,

-“The Internet Industry Is on a Cloud”

-“Federal CIO Scrutinizes Spending And Eyes Cloud Computing”

-“Cloud Computing Something We Absolutely Have to Do”

-“I had a customer tell me there’s a rainstorm coming, that there will be all these clouds and none are going to talk to each other”.

Imaginary Cloud

Picture1

Aren’t these statements making you curious, the word CLOUD , the way people speak about it?

Our world today expects,

  • Agility/flexibility of technology(User-friendliness)
  • Real time information and immediate feedback

If you accept…

– There is an unquenchable thirst for collaboration and sharing

– Need of a technology which will allow us to work from anywhere at any time using any device – highly mobile workforce

Then…

– How do we achieve mission assurance on the same network?

– How do we ensure the network is there when we need it?

– What approach should we take?

To achieve these

– New distribution channels

– Early warning through the blogosphere

– Dynamic, ad hoc sharing and collaboration

To Achieve solutions to all these complex problems,
We now finally come to the technology

CLOUD

A style of computing where massively scalable (and elastic) IT-related capabilities are provided “as a service” to external customers using Internet technologies is called the CLOUD.

The “Cloud Concept” built upon the three pillars of current computing system such as “Infrastructure”, ”Platform” and the “Software” or applications.

The business benefit of “Cloud” is, its’ use to provide “On demand Service” which helps to full fill the demand of chain execution can be the cause of reducing expenses of implementation of multiple processing units.

Cloud provides the concept of updating of resources without affecting the underlying infrastructure, which reduce the need of backup system and encourage the continuous execution of application.

Cloud provides potential “Reliability” and “Scalability” for the applications either deployed or are running on cloud.

Since, cloud use to assure out most security for any business application, it provides a “Private Cluster” for each application.

Please Click Here to Navigate to Cloud Video Explanation

Also we can say CLOUD as Infrastructure provided by the service provider to build internet application.

These are the services provided by cloud are categorize

> Software As a Service(SaaS)

Here we can use software that are pre installed in the cloud, so that we don’t have to install the software in our pc and waste spaces.
Eg:- Microsoft’s OFFICE 365 (MS OFFICE ), this application is hosted on the cloud so if the customer needs to use it he can visit the site and can use the app online.Other similar applications are mail clients(Gmail, yahoo mail and many others)

> Infrastructure As a Service(IaaS)

This means providing, working environment virtually using cloud. That means we can gain access to a virtual device in cloud which is similar to hardware to achieve our task. Eg:- We can use Apple Iphone virtually even though we don’t have it in our hand.Similarly there are virtual Desktop and many other devices too, according to the service provider and purpose this changes.

> Platform As a Service(PaaS)

Here platform is provided to the user, so he does not have to worry about the platform.So this is platform independent.So you don’t have to worry about whether it will support Linux, Windows or Mac.All you need is a web browser.

> Database As a Service(Daas)

Here we are storing all our data in CLOUD(Actually in a Server), so we don’t have to store the data in our pc, which is less secure and may be lost if some problem occurs, like system crashes.So by storing our data in CLOUD Database we can save space, and can avoid unwanted problems.

> Software plus Service

Software plus Service is similar to SaaS, but it has some extra features, like payed users will have more, access options or similar extra facilities.

Out of these SaaS, PaaS, IaaS are the main Services.

So this is the basic over view of CLOUD computing.
Hope You Guys Got Some things out of this Post…..!