Text Auto-completion on Android Using the Levenshtein Distance

Articles

In a previous tutorial, the Levenshtein distance is implemented to measure the distance between 2 words based on a vector.

This tutorial builds on that implementation to create an Android app that automatically gives suggestions to the user as he/she is typing. The distances between the input text and an English dictionary of 20,000 words are calculated. The words with the lowest distances are suggested to the user to automatically complete the text.

Continue reading “Text Auto-completion on Android Using the Levenshtein Distance”

Transfer Learning for Mobile ML

Articles

Machine learning and deep learning are enabling amazing applications all around us. However, traditional models of deep neural networks are designed to take advantage of the vast memory and raw computing power of centralized servers.

In this article, we examine how the concept of ‘transfer learning’ may usher in deep learning efficiently on the edge, and more specifically, inside your smartphone.

Continue reading “Transfer Learning for Mobile ML”

Squarespace and AI: Building the Future

AI Website Builders Articles

I’ve been using Squarespace for two years and it’s been a smooth ride so far. I created my website for fashion products and it took just about a couple of days to set it up with images, content, and everything.

Two days isn’t a lot for setting up an ecommerce website without any help. But things have become even faster and smoother with AI. I integrated AI in my Squarespace store just a few weeks ago and I’m going to discuss what AI options we have.

Continue reading “Squarespace and AI: Building the Future”

Card Scanner on Android Using Firebase’s ML Kit and CameraX

Articles

Machine learning has changed the way users interact with mobile applications. It offers brand new experience to users, making apps capable of leveraging various features such as providing accurate, location-based recommendations; detecting and manipulating text from images; instantaneously detecting micro diseases, and much more!

Continue reading “Card Scanner on Android Using Firebase’s ML Kit and CameraX”

Snapchat Lens Creator Spotlight: Shimenta

Articles Interviews

I studied journalism in high school, but it wasn’t until I was using the “News From Home” lens by Jimena Depresbiteris, known on Snapchat as Shimenta, that I got to do my own broadcast.

Along with neon filters and festival inspired wear, she offers a range of funny and interactive lenses that let you share your own creativity with friends. A passionate lover of AR, I learned a bit more from the Italy-based creator.

Continue reading “Snapchat Lens Creator Spotlight: Shimenta”

Logo Recognition iOS Application Using Machine Learning and Flask API

Articles

Let say, for some reason, you process a huge load of images that contain some sort of logo (or even products). And you want to know which images are related to a specific companies. This is very common problem in AdTech and/or Data Mining companies.

Let’s imagine you have a user generated content in your application, so you want to know what’s inside the images, and if you have ads running (Bingo!), you can target a user based on the images they liked, commented on, published etc.

Continue reading “Logo Recognition iOS Application Using Machine Learning and Flask API”

Train a Face-Mask Detection Model in Under 5 Minutes using Lobe.ai

Articles

Lobe, owned by Microsoft, is a free, no-code tool to train machine learning models without technical skills. Only image classification is supported as of this writing, and an object detection model training is coming soon according to Lobe’s homepage. You can download it here by entering your basic info. It’s 608 mb.

Continue reading “Train a Face-Mask Detection Model in Under 5 Minutes using Lobe.ai”

Scannable Chess Scoresheets with a Convolutional Neural Network and OpenCV

Articles

Innovation starts with solving personal problems. Every chess player writes down their moves on a chess scoresheet during a tournament game to analyze soon after. The annoying part is you have to record your moves once during the game, and then again into a computer to analyze the moves you played.

On top of this, it’s super easy to keep highly disorganized computer files (keeping track of moves in our minds, unfortunately, doesn’t translate well to keeping track of papers in real life). Instead, we store loose scoresheets in the musty depths of a backpack — crumpled up to oblivion.

Continue reading “Scannable Chess Scoresheets with a Convolutional Neural Network and OpenCV”

Using Generative Deep Learning Models On-Device

Articles

Over the last few years, generative models have been on the rise thanks to breakthrough innovations, especially in the domain of deep learning. We are now on the verge of solving complex tasks that seemed impossible 10 years ago.

There are countless applications for these techniques, so in this mini-series, we’ll focus on what they could bring to our handheld companions. In the first part let’s take a look at a few applications in image generation and transformation.

Continue reading “Using Generative Deep Learning Models On-Device”