Building an Image Recognition Model for Mobile using Depthwise Convolutions

Articles

Deep Learning algorithms are excellent at solving very complex problems, including Image Recognition, Object Detection, Language Translation, Speech Recognition, and Synthesis, and include many more applications, such as Generative Models.

However, deep learning is extremely compute intensive—it’s generally only viable through acceleration by powerful general-purpose GPUs, especially from Nvidia. Unfortunately, mobile devices have very limited compute capacity; hence, most architectures that have been very successful on desktop computers and servers cannot be directly deployed to mobile devices.

Continue reading “Building an Image Recognition Model for Mobile using Depthwise Convolutions”

Snapchat, FaceApp, and the necessary lessons of data privacy with mobile machine learning

Articles

If you’re even remotely plugged into the tech world, you’d have been hard-pressed to miss a couple viral summer trends, both involving AI-powered photo transformations.

Here’s the gist. Snapchat caught fire and soared past all Q2 estimates, in large part because of their rollout out of popular gender-swap and baby-face Lenses. And soon after, FaceApp took the internet by storm when its old-age filter went viral. This has led to millions of users, including prominent celebrities, showing off what they’d look like in 40 years or as members of a different gender.

Continue reading “Snapchat, FaceApp, and the necessary lessons of data privacy with mobile machine learning”

Image Classification on Android with TensorFlow Lite and CameraX

Articles

TensorFlow Lite is the lightweight version of TensorFlow Mobile. It’s here to unleash the machine learning power on your smartphones while ensuring that the model binary size isn’t too big and there’s low latency. Additionally, it also supports hardware acceleration using the Neural Networks API and is destined to run 4X faster with GPU support.

Continue reading “Image Classification on Android with TensorFlow Lite and CameraX”

Body Segmentation in the Browser with TensorFlow.js

Articles

Learning and implementing different AI-powered apps using the TensorFlow.js library empowers you to do so many amazing things with ML in the browser.

This tutorial is the latest in my series using TensorFlow.js for machine learning and implementing those models in React apps. Here, we’ll learn about another TensorFlow library that helps with body segmentation.

Continue reading “Body Segmentation in the Browser with TensorFlow.js”

Semantic and Instance Segmentation on iOS Using a Flask API — DeepLabV3+ and Mask R-CNN

Articles
Computer Vision — iOS Introduction

Let say you have an image, and you want to distinguish objects of interest— or in other words, find suitable local characteristics to distinguish them from other objects or from the background. This is called image segmentation or semantic segmentation.

When we segment a target object, we know which pixel belongs to which object. The image is divided into regions and the discontinuities serve as borders between the regions. One can also analyze the shape of objects using various morphological operators.

Continue reading “Semantic and Instance Segmentation on iOS Using a Flask API — DeepLabV3+ and Mask R-CNN”

Running Create ML Style Transfer Models in an iOS Camera Application

Articles

Style transfer is a very popular deep learning task that lets you change an image’s composition by applying the visual style of another image.

From building artistic photo editors to giving a new look to your game designs through state-of-the-art themes, there are plenty of amazing things you can build with neural style transfer models. It’s also can be handy or data augmentation.

Continue reading “Running Create ML Style Transfer Models in an iOS Camera Application”