Using Glide to Efficiently Load Images in Android

Articles

Displaying images is one of the most common tasks for any Android developer, but it can become challenging to manage for a variety of reasons.

The process requires loading and displaying the image, handling caches and image manipulations, loading the correct size of the image in the memory, handling network requests if you are loading the image from the internet, much testing, and many other nightmares.

Continue reading Using Glide to Efficiently Load Images in Android

Popular Mobile Machine Learning Projects to Help You Start Building

Articles

Mobile machine learning, relatively speaking, is still in its infancy. While I fully envision a future where hundreds of thousands of mobile apps will seamlessly leverage ML to provide more personalized, responsive, and immersive user experiences, I also recognize that we all have to start somewhere.

Whether you’re a mobile dev who wants to add ML to your toolkit, a hobbyist looking for a new technology to tinker with, or a product manager trying to get a sense of how mobile ML might work within your roadmap, there are some easy ways to jump right in and experiment.

Continue reading Popular Mobile Machine Learning Projects to Help You Start Building

Introduction to Python Magic Methods in Python Classes

Articles

Python magic methods are also known as dunder methods or special methods. But why such dramatic names? They’re used to overwrite or emulate the behavior of built-in functions.

They’re also easy to recognize, as they follow a particular pattern: They have double underscores as prefixes and suffixes. Hence, the name dunder means Double Underscore. They’re referred to as special methods because they add “magic” to your python classes. Common examples are __init__(), __str__(), __call__(), etc. A magic method is generally used to override operations.

Continue reading “Introduction to Python Magic Methods in Python Classes”

Hands-on with Feature Engineering Techniques: Handling Outliers

Articles

This post is a part of a series about feature engineering techniques for machine learning with Python.

You can check out the rest of the articles:

Welcome back! In this post of our series on feature engineering, we’re going to focus on another common issue in most datasets—outliers. Here, we’ll examine what an outlier is and the different methods to handle them, alongside some code snippets. Let’s get started.

Continue reading Hands-on with Feature Engineering Techniques: Handling Outliers

Apple’s Reality Composer: Put the Moon in Orbit with Augmented Reality

Articles

Augmented reality is a term we’ve all heard of, but few developers are able to create immersive AR experiences — it often requires 3D design skills that are often missed in software development courses.

Thankfully, Apple’s Reality Composer makes it easy to build quick, immersive experiences without having experience with CAD and 3D modeling. While beginners can start with this tutorial, I strongly recommend checking out my previous tutorial for a more basic look at Reality Composer.

Continue reading Apple’s Reality Composer: Put the Moon in Orbit with Augmented Reality

Edge AI: The Ultimate Guide to Vision Processing Units (VPUs)

Articles

It’s Friday. I’m checking my phone for the 30th time in the last hour. It’s 1:02 P.M. Something’s wrong. The UPS courier is late. They said it would arrive by 1 P.M — why is it not here? I was preparing one of my fresh daily emails, but I couldn’t focus. And suddenly… DING DONG! 🔔 He’s here! I suddenly felt super excited. It felt like Christmas. This morning, I received my OAK-D Camera…

Continue reading Edge AI: The Ultimate Guide to Vision Processing Units (VPUs)

Exploring Language Models for Neural Machine Translation (Part One): From RNN to Transformers

Articles

The main aim of this article is to introduce you to language models, starting with neural machine translation (NMT) and working towards generative language models.

For the purposes of this tutorial, even with limited prior knowledge of NLP or recurrent neural networks (RNNs), you should be able to follow along and catch up with these state-of-the-art language modeling techniques.

Continue reading Exploring Language Models for Neural Machine Translation (Part One): From RNN to Transformers

Evolving Your iOS App’s Intelligence with Core ML Model Deployment

Articles

WWDC20 has dropped a ton of great updates for developers and users. Noticeable throughout the Keynote and Platforms State of the Union addresses were mentions of Core ML models powering some incredible first-party features, such as the sleep training capabilities. ML continues to play a key role in Apple’s vision for the future.

Continue reading Evolving Your iOS App’s Intelligence with Core ML Model Deployment

SwiftUI + Vision Contour Request — Coin Detection in iOS

Articles

Apple’s WWDC 2020 (digital-only) event kickstarted with a bang. There were a lot of new surprises from the world of SwiftUI, ARKit, PencilKit, Create ML, and Core ML. But the one that stood out for me was computer vision.

Apple’s Vision framework got bolstered with a bunch of exciting new APIs that perform some complex and critical computer vision algorithms in a fairly straightforward way.

Continue reading SwiftUI + Vision Contour Request — Coin Detection in iOS