Pages

Showing posts with label phone. Show all posts
Showing posts with label phone. Show all posts

Tuesday, September 20, 2016

How Google Translate squeezes deep learning onto a phone



Today we announced that the Google Translate app now does real-time visual translation of 20 more languages. So the next time you’re in Prague and can’t read a menu, we’ve got your back. But how are we able to recognize these new languages?

In short: deep neural nets. When the Word Lens team joined Google, we were excited for the opportunity to work with some of the leading researchers in deep learning. Neural nets have gotten a lot of attention in the last few years because they’ve set all kinds of records in image recognition. Five years ago, if you gave a computer an image of a cat or a dog, it had trouble telling which was which. Thanks to convolutional neural networks, not only can computers tell the difference between cats and dogs, they can even recognize different breeds of dogs. Yes, they’re good for more than just trippy art—if youre translating a foreign menu or sign with the latest version of Googles Translate app, youre now using a deep neural net. And the amazing part is it can all work on your phone, without an Internet connection. Here’s how.

Step by step

First, when a camera image comes in, the Google Translate app has to find the letters in the picture. It needs to weed out background objects like trees or cars, and pick up on the words we want translated. It looks at blobs of pixels that have similar color to each other that are also near other similar blobs of pixels. Those are possibly letters, and if they’re near each other, that makes a continuous line we should read.
Second, Translate has to recognize what each letter actually is. This is where deep learning comes in. We use a convolutional neural network, training it on letters and non-letters so it can learn what different letters look like.

But interestingly, if we train just on very “clean”-looking letters, we risk not understanding what real-life letters look like. Letters out in the real world are marred by reflections, dirt, smudges, and all kinds of weirdness. So we built our letter generator to create all kinds of fake “dirt” to convincingly mimic the noisiness of the real world—fake reflections, fake smudges, fake weirdness all around.

Why not just train on real-life photos of letters? Well, it’s tough to find enough examples in all the languages we need, and it’s harder to maintain the fine control over what examples we use when we’re aiming to train a really efficient, compact neural network. So it’s more effective to simulate the dirt.
Some of the “dirty” letters we use for training. Dirt, highlights, and rotation, but not too much because we don’t want to confuse our neural net.
The third step is to take those recognized letters, and look them up in a dictionary to get translations. Since every previous step could have failed in some way, the dictionary lookup needs to be approximate. That way, if we read an ‘S’ as a ‘5’, we’ll still be able to find the word ‘5uper’.

Finally, we render the translation on top of the original words in the same style as the original. We can do this because we’ve already found and read the letters in the image, so we know exactly where they are. We can look at the colors surrounding the letters and use that to erase the original letters. And then we can draw the translation on top using the original foreground color.

Crunching it down for mobile

Now, if we could do this visual translation in our data centers, it wouldn’t be too hard. But a lot of our users, especially those getting online for the very first time, have slow or intermittent network connections and smartphones starved for computing power. These low-end phones can be about 50 times slower than a good laptop—and a good laptop is already much slower than the data centers that typically run our image recognition systems. So how do we get visual translation on these phones, with no connection to the cloud, translating in real-time as the camera moves around?

We needed to develop a very small neural net, and put severe limits on how much we tried to teach it—in essence, put an upper bound on the density of information it handles. The challenge here was in creating the most effective training data. Since we’re generating our own training data, we put a lot of effort into including just the right data and nothing more. For instance, we want to be able to recognize a letter with a small amount of rotation, but not too much. If we overdo the rotation, the neural network will use too much of its information density on unimportant things. So we put effort into making tools that would give us a fast iteration time and good visualizations. Inside of a few minutes, we can change the algorithms for generating training data, generate it, retrain, and visualize. From there we can look at what kind of letters are failing and why. At one point, we were warping our training data too much, and ‘$’ started to be recognized as ‘S’. We were able to quickly identify that and adjust the warping parameters to fix the problem. It was like trying to paint a picture of letters that you’d see in real life with all their imperfections painted just perfectly.

To achieve real-time, we also heavily optimized and hand-tuned the math operations. That meant using the mobile processor’s SIMD instructions and tuning things like matrix multiplies to fit processing into all levels of cache memory.

In the end, we were able to get our networks to give us significantly better results while running about as fast as our old system—great for translating what you see around you on the fly. Sometimes new technology can seem very abstract, and its not always obvious what the applications for things like convolutional neural nets could be. We think breaking down language barriers is one great use.
Read More..

Thursday, February 11, 2016

Use your mobile phone as webcam warelex S60 application

Turn your Symbian smartphone into a high-quality web camera and throw out your bulky USB webcam. Very simple to install and configure, Mobiola Web Camera consists of two software components: 1) a client application that resides on the phone, and 2) a webcam PC driver compatible with any Windows application that can receive video feeds from a web camera including Skype, Yahoo, MSN, AOL IM, ICQ messangers, www.YouTube.com, www.MySpace.com and www.grouper.com. Carry your webcam with you wherever you go and connect it to your laptop at anytime.

Download it here
Read More..

Thursday, July 3, 2014

Best Mobile Phone Reverse Lookup Reviews

By Carroll Drechsler-Parks


Have you ever met someone that you had a weird sensation in your digestive tract concerning? That feeling that possibly you should not credible them? Everyone has it, and some peoples gut inclinations are relatively accurate. You could place yours to the test and understand how right you are by utilizing a criminal background check. It will offer you the required reason to follow your instincts by giving you facts.

It does not matter who you would like to know more concerning, legally, you deserve to learn who may have a criminal record. You owe it to on your own to protect on your own and your household from potential threats. Would certainly you want to allow a person into your house that was sentenced of a major criminal offense and now out on parole? Not many people could point out, "Yes.".

An individual with a previous record of medicines or far even worse criminal activities could not tell you that they were guilty of it. You have to discover for yourself. Rather than let them bring difficulty to you, figure out exactly what you could regarding them prior to they have the chance. Then you will understand if there is any kind of chance that new next-door neighbor in the future will certainly try to offer their medicines to your little ones.

Would you desire your daughter to date a "changed" youngster molester? Would you want your son to date an ex-prostitute? Would you intend to hire someone to do your yard actually work if they have been charged with theft? If you wish to protect the things that are yours, not. Merely figure out that you can trust with a criminal background check and then you will sleep better during the night.

If they will certainly have difficulty out of a new worker, this is the same modern technology that companies have actually made use of for years to understand beforehand. If you are going to employ a person to handle your company, you ought to have the ability to reputable them. The web is a fantastic tool for you to use to make certain that every little thing you care about is safe. Should you take advantage of it? Most folks say, "Yes." Besides those with a criminal past they do not desire you to find out about.

Do you want to allow he or she in to your house? Discovering the response is simple due to the fact that if you have a residence computer system, a number, or a label of anyone you can find out if they were ever before found guilty of anything, featuring small concerns such as quality traffic violations. You will certainly also know exactly how long they were in prison and other info about their past criminal offenses. It is the most convenient way in the globe to protect you and all you appreciate.

We reside in a society where trust needs to be earned. If your gut points out a person is bad, get the proof you need so that you will certainly understand whether you could credible them or otherwise. Get it in print where no one could deny that it is precise. It might be just the ticket for you to relax a little less complicated in the evening due to the fact that you will understand you have actually done your best.

Using a background check is a truthful way to discover the fact regarding things you have to know. Criminal records are public documents. The internet simply makes it much easier for every person to make use of and have accessibility to it. You could find out past points that the individual might have done while they lived throughout the nation in an additional state. You could discover if it is secure for your kids to be near them.

A free of charge standard criminal background check will permit you know that they have been in difficulty. A comprehensive record might cost you a little of money. Nonetheless, both will certainly offer you some item of mind in this insane globe and for that, you can not put a value on it. Usage the tools that are readily available so that you could figure out exactly what you should understand.




About the Author:



Read More..