How to Use the Pinch to Zoom Gesture in React Native Apps

Articles

The open-source library react-native-gesture-handler is a great way to add gestures to cross-platform React Native apps. Two of the main reasons I find the library useful are because it uses native support to handle gestures, and it performs better on each native platform than React Native’s built-in touch system Gesture Responder system.

Continue reading How to Use the Pinch to Zoom Gesture in React Native Apps

Implementing Multiple Linear Regression Using sklearn

Articles

As an exercise, or even to solve a relatively simple problem, many of you may have implemented linear regression with one feature and one target. However, in the real world, most machine learning problems require that you work with more than one feature.

For example, to calculate an individual’s home loan eligibility, we not only need his age but also his credit rating and other features.

Continue reading Implementing Multiple Linear Regression Using sklearn

Modeling & Deploying Object Detection Based Recommenders to the Web

Articles

Detecting objects, classifying them, and then keeping track of them is the biggest advancement in the deep learning area. There are many use cases of object detection in our day-to-day life; some examples are judging human behavior, activity trackers, some use in public sectors, crime detection, and many more.

In this article, I will help you deploy your own custom object detection based recommendation system to the web. In the end, you can interact with your real-time object detection and recommendation model using your web interface. Finally, you can host it over the cloud to access it everywhere, even with your mobile devices.

Continue reading Modeling & Deploying Object Detection Based Recommenders to the Web

Upload images in React Native apps using Firebase and Firestore

Articles

With React Native, you can build cross-platform mobile applications using JavaScript as the primary programming language. Each of your mobile apps may contain single or multiple user interfaces to serve a wide range of purposes.

One such user interface is to upload images. In this tutorial, we’ll build a small demo app that allows the user to upload an image with associated details to Firebase’s real-time database Firestore and create a collection called posts. This collection of posts for the demo app will consist of an image and its title.

Continue reading Upload images in React Native apps using Firebase and Firestore

My MangaGAN: Building My First Generative Adversarial Network

Articles

n this post, we will learn to develop a generative adversarial network (GAN) for generating realistic manga or anime characters.

I’ve always been amazed by vivid animations, especially Manga and their bold looks and strokes. Wouldn’t it be awesome to be able to draw a few ourselves, to experience the thrill of creating them with the help of a self-developed neural network?!

Continue reading My MangaGAN: Building My First Generative Adversarial Network

Make Your Own Deepfake Video in a Few Easy Steps

Articles

If you’re reading this article, then you’ve likely seen or heard about a particular AI algorithm called deepfakes. Much of this hype has comes as a result of major apps like Snapchat, FaceApp, or Instagram using this algorithm to create entertaining content.

In this article, I’ll show you how to quickly and easily create your own deepfake video. To do this, I’ll be using the implementation for the research effort First Order Motion Model for Image Animation, developed by Aliaksandr Siarohin, Stéphane Lathuilière, Sergey Tulyakov, Elisa Ricci, and Nicu Sebe.

Continue reading Make Your Own Deepfake Video in a Few Easy Steps

Running NumPy in Android Devices using the Kivy Python Framework

Articles

This tutorial discusses running the popular Python library NumPy (Numerical Python) in Android devices on top of the Kivy framework. The tutorial covers the Kivy installation, a brief introduction to Kivy, installation of python-4-android and Buildozer for building Android applications, and finally running NumPy in Android.

Python is one of the most popular data science tools due to the availability of powerful libraries that make building applications much easier. Some tasks, such as image classification, require writing many lines of code in programming languages such as C or Java, but Python decouples the user from many unnecessary details. It provides a simpler interface to do complex tasks. The simplicity extends to building machine learning models using a few lines of code. This makes Python a key tool for data scientists.

Continue reading Running NumPy in Android Devices using the Kivy Python Framework

Deprecating AsyncTask in Android with Kotlin Coroutines

Articles

Processing background work and tasks is something that’s used in almost all mobile apps. Keeping the UI or main thread free from too many complex operations and offloading all the heavy lifting to background threads isn’t only considered a good development practice, but it’s also crucial if you want to make an app that provides a fluid and engaging user experience.

Continue reading Deprecating AsyncTask in Android with Kotlin Coroutines

Research Guide for Depth Estimation with Deep Learning

Articles

Depth estimation is a computer vision task designed to estimate depth from a 2D image. The task requires an input RGB image and outputs a depth image. The depth image includes information about the distance of the objects in the image from the viewpoint, which is usually the camera taking the image.

Some of the applications of depth estimation include smoothing blurred parts of an image, better rendering of 3D scenes, self-driving cars, grasping in robotics, robot-assisted surgery, automatic 2D-to-3D conversion in film, and shadow mapping in 3D computer graphics, just to mention a few.

Continue reading Research Guide for Depth Estimation with Deep Learning