Zephyrnet Logo

Tag: Programming Language

Top 90+ Shell Scripting Interview Questions & Answers – 2023

Table of contents Shell scripts are programs that contain commands to be executed by a shell, which is a command-line interpreter. Long...

Top 46 MATLAB Interview Questions and Answers in 2023

Table of contents A numerical computing environment and programming language, MATLAB, was developed by MathWorks. It allows the plotting of functions, matrix...

Ankr Becomes One of the First RPC Providers to the Aptos Blockchain

San Francisco, United States, 17th October, 2022, ChainwireAnkr, one of the world’s leading Web3 infrastructure providers, today announces that it has become one of...

Ask a Techspert: How does Lens turn images to text?Ask a Techspert: How does Lens turn images to text?Keyword Contributor

When I was on holiday recently, I wanted to take notes from an ebook I was reading. But instead of taking audio notes or scribbling things down in a notebook, I used Lens to select a section of the book, copy it and paste it into a document. That got me curious: How did all that just happen on my phone? How does a camera recognize words in all their fonts and languages?

I decided to get to the root of the question and speak to Ana Manasovska, a Zurich-based software engineer who is one of the Googlers on the front line of converting an image into text.

Ana, tell us about your work in Lens.

I’m involved with the text aspect, so making sure that the app can discern text and copy it for a search or translate it — with no typing needed. For example, if you point your phone’s camera at a poster in a foreign language, the app can translate the text on it. And for people who are blind or have low vision, it can read the text out loud. It’s pretty impressive.

So part of what my team does is get Lens to recognize not just the text, but also the structure of the text. We humans automatically understand writing that is separated into sentences and paragraphs, or blocks and columns, and know what goes together. It’s very difficult for a machine to distinguish that, though.

Is this machine learning?

Yes. In other words, it uses systems (we call them models) that we’ve trained to discern characters and structure in images. A traditional computing system would have only a limited ability to do this. But our machine learning model has been built to “teach itself” on enormous datasets and is learning to distinguish text structures the same way a human would.

Can the system work with different languages?

Yes, it can recognize 30 scripts, including Cyrillic, Devanagari, Chinese and Arabic. It’s most accurate in Latin-alphabet languages at the moment, but even there, the many different types of fonts present challenges. Japanese and Chinese are tricky because they have lots of nuances in the characters. What seems like a small variation to the untrained eye can completely change the meaning.

What’s the most challenging part of your job?

There’s lots of complexity and ambiguity, which are challenging, so I’ve had to learn to navigate that. And it’s very fast paced; things are moving constantly and you have to ask a lot of questions and talk to a lot of people to get the answers you need.

When it comes to actual coding, what does that involve?

Mostly I use a programming language called C++, which enables you to run processing steps needed to take you from an image to a representation of words and structure.

Hmmm, I sort of understand. What does it look like?

A screenshot of some C++ code against a white background.

This is what C++ looks like.

The code above shows the processing for extracting only the German from a section of text. So say the image showed German, French and Italian — only the German would be extracted for translation. Does that make sense?

Kind of! Tell me what you love about your job.

It boils down to my lifelong love of solving problems. But I also really like that I’m building something I can use in my everyday life. I’m based in Zurich but don’t speak German well, so I use Lens for translation into English daily.

Decoding what the coders do: Ana works in Lens, focusing on text recognition. But what does that actually involve?

Top Programming Languages For Data Science In 2022

The position of data scientist did not even exist a few decades ago. The data was already organized, cleaned, and subjected to analyses by...

Top Cardano Projects in 2023: Best Cardano DApps Worth Knowing!

<!-- --> Cardano is one of the most innovative and exciting blockchain projects in the space, being referred to by many...

The Broad Benefits Of Coding You Never Knew

Image Source Programming languages have revolutionized the world since the first software, or code-based project, was developed. It has opened doors to innovations in every...

Best AI programming languages in 2022 (And how to choose one?)

What programming language for artificial intelligence is suitable for you? It is a crucial question for your company’s future. Every major tech business and...

Try out Solana and multiply your winnings on 1xBit

The world keeps evolving, and so does the course of adaptation; to accommodate more users, 1xBit now supports Solana as

The post has appeared first on thenewscrypto.com

Smart Software Development Firm AiXcoder Completes Round-A Financing

AI programming robot developer company aiXcoder announced on Tuesday that it had received tens of millions of yuan in round-A financing, following investment by GL Ventures.

Ranked: Top 5 Programming Languages for IoT Devices – AI Time Journal – Artificial Intelligence, Automation, Work and Business

Internet of Things, also known as IoT, is a network of interconnected computing and digital devices, objects, and machines equipped with unique identifiers. This...

Building software from scratch, the user-centric approach – Codementor Events

As a developer, it may be tempting to just start building features and products. However, before you take things to the keyboard, you should...

Latest Intelligence

spot_img
spot_img