Newsletters for Mobile Development

Articles

In our last newsletter roundup, we looked at the expansive landscape of AI and machine learning newsletters. Luckily for me (and Zain Sajjad, who was a huge help in putting this list together) the demarcations with mobile development newsletters are much more straightforward.

That doesn’t mean there’s any less variety or quality in the content that’s being sent all around the world every week (or every other week). I had a lot of fun researching these excellent newsletters, and I know there’s something in here that will capture your interest. So let’s jump right in!

Continue reading “Newsletters for Mobile Development”

Augmented Reality on iOS and Android

Articles
Augmented Reality on iOS and Android

Augmented reality (AR) is one of the fastest growing “next wave” technologies in mobile development. To define AR, I’ll turn to Jameson Toole and his post (linked below) that explores combining AR and AI in mobile development:

To help you get started with developing amazing mobile experiences with AR, we’ve compiled a helpful list of Heartbeat tutorials, explainers, and more.

Continue reading “Augmented Reality on iOS and Android”

Implementing email and password-based authentication on Android using Firebase

Articles

As a developer, it’s crucial for your business to have access to your user’s details. Be it to monitor their usage patterns, send promotional campaigns, notify them of critical updates to your services, or for additional cross-selling of new services.

One effective technique to gather user data is via authentication. Or, put simply, a login system that lets your app know when a particular user is using the app.

Implementing a secure authentication system of this kind from the ground up might require weeks of effort, along with you having to learn a server-side framework to build the backend for the same.

Continue reading “Implementing email and password-based authentication on Android using Firebase”

Exploring Language Models for Neural Machine Translation (Part Three): Generating Text with Hugging Face

Articles

This is part 3 of an ongoing series on language models, starting with defining neural machine translation and exploring the transformer model architecture, and then implementing GPT-2 from scratch.

Specifically, in the first part of the series, we implemented a transformer model from scratch, talked about language models in general, and also created a Neural Machine Translator.

Continue reading “Exploring Language Models for Neural Machine Translation (Part Three): Generating Text with Hugging Face”

Benchmarking TensorFlow Mobile on Android devices in production

Articles

A few weeks ago I looked at the speed of Core ML models running on various Apple devices. Apple’s new A12 Bionic chip paired with Core ML 2 made the latest generation of iPhones and iPads more than 10x faster than previous generations.

While faster is usually better, large differences in performance across devices make it hard for developers to keep user experience consistent. Apple’s (relatively) small product family and aggressive upgrade strategy mitigates this problem to some degree.

Continue reading “Benchmarking TensorFlow Mobile on Android devices in production”

Dog Breed Classification on Mobile with Flutter and TensorFlow Lite

Articles

Machine learning and AI are having more and more influence on mobile tech nowadays. Hardware is becoming more and more AI-capable, and machine learning and AI methods are being integrated in mobile apps to optimize and enhance user experiences.

In this tutorial, we’re going to apply machine learning methods provided by the TensorFlow Lite library for the purpose of image classification in a Flutter app. Flutter—as introduced and acknowledged by Google—has a tendency to produce and support libraries related to machine learning.

Continue reading “Dog Breed Classification on Mobile with Flutter and TensorFlow Lite”

Identify Language of Text on Android Using Google’s ML Kit

Articles

Nowadays, language detection is very popular (especially with machine learning), and mobile apps that use it are widely popular in every part of the world, with different users speaking different languages. Language identification can easily help you understand your users’ languages and personalize your app based on them.

Language detection is essentially a technique/science that allows us to automatically identify the language of a given text, be it English, Chinese, or many others. We can use machine learning for this kind of identification —and we can even do this inside mobile apps!

Continue reading “Identify Language of Text on Android Using Google’s ML Kit”

License Plate Recognition, Detection, and Plate Number Extraction on iOS

Articles

Generally speaking, human beings can recognize objects without too much effort or consideration. However, recognizing objects in images can be a very difficult task in the field of computer vision.

There are many use cases in which this difficulty becomes evident. One specific use case involves license plate detection—it’s particularly a big challenge because of the differences inherent in the plates (i.e. the objects) themselves: different sizes and styles, the conditions and lighting under which the images of the plates are captured, etc.

Continue reading “License Plate Recognition, Detection, and Plate Number Extraction on iOS”

Core ML On-Device Training, with Transfer Learning from Swift for TensorFlow Models

Articles

As a first small step towards a federated learning platform that supports mobile and wearable devices (in particular, devices within the Apple ecosystem) I’ve being developing a Swift library called SwiftCoreMLTools that mimics in Swift a subset of the functionalities of Apple’s CoreMLTools Python library.

Continue reading “Core ML On-Device Training, with Transfer Learning from Swift for TensorFlow Models”

The Fast, Furious, and Flaky: Continuous Integration with Xcode 10 Parallel Tests

Articles

Apple is truly investing in testing tools and technologies, which is a great thing for app developers. In fact, Apple announced parallel testing support for the XCTest framework at WWDC 2018 in its platform state of the union session. There was a separate session on What’s New in Testing, describing new features in Code Coverage, XCTest, and XCUITests, which included parallel testing.

Continue reading “The Fast, Furious, and Flaky: Continuous Integration with Xcode 10 Parallel Tests”