Software Engineer by Profession, passionate about Data Science and Machine Learning. https://www.linkedin.com/in/girija-shankar-behera-449179111/
Image for post
Image for post
Photo by Delia Giandeini on Unsplash

In this post, I’m going to discuss Tensorflow Records. Tensorflow recommends to store and read data in tfRecords format. It internally uses Protocol Buffers to serialize/deserialize the data and store them in bytes, as it takes less space to hold an ample amount of data and to transfer them as well.

Protobufs work with the predefined schemas, unlike JSON and XML. tfRecords has such schemas already available in Protofiles, and also the compiled code for many supported languages. I, in the post, am going to import such compiled code in Python and use them on my data.

This post needs…


Image for post
Image for post
Fig. Image by Girija Shankar Behera

A Facial Recognition System is a technology that can capture a human face anywhere in an image or a video and also can find out its identity. A Face Recognition system has proven to be very beneficial in case of user identity verification in the recent past replacing the age-old authentication mechanisms like password protection or the One Time Passwords. In the last decade or so, we have seen a huge growth in the smart mobile industry for using face verification, and also numerous apps like Snapchat or Instagram which can put interesting filters on face. …


Image for post
Image for post
Photo by Hans-Peter Gauster on Unsplash

Have you ever wondered how a chatbot works? How does it select certain keywords from all the text that we send, but not all of them which are actually irrelevant? Have you ever wondered how Google Search detects certain keywords in our search query and recommends the related articles based on those keywords? Or sometimes it just starts suggesting even before you’ve written the whole query down? Isn’t this surprising how perfect a system can be?

Well, I’m not new to data science and machine learning. …


Image for post
Image for post

This article is probably for a beginner, as it only covers the necessary steps required to start up a Pi. If you already are familiar with these, then this might not be a relevant article for you. It’s much like a documentation page with all the steps written, starting from creating a bootable SD Card to installing the OS on the Pi.

This article, I’m writing while I’m still exploring and finding my way out with a Pi. I got a brand new Raspberry Pi 4, the latest version in the series. Look wise it’s smaller, something similar to the…


Image for post
Image for post
Image by Girija Shankar Behera

In the previous article, we explored how Haar Cascade algorithm works, the working of the Haar Features, and discussed the implementation in detail. This article will be a bit short, as it’s only going to use the Haar model available on GitHub and detect some faces. OpenCV has provided methods that makes it simple to use and focus more on the task in hand, rather than spending time on understanding and tweaking the models.

Import the libraries

We start with importing the necessary libraries. So I have a directory consisting of a number of images, and I want the program to iterate…


Getting Started

Image for post
Image for post
Image by Girija Shankar Behera

Face Detection, a widely popular subject with a huge range of applications. Modern day Smartphones and Laptops come with in-built face detection softwares, which can authenticate the identity of the user. There are numerous apps that can capture, detect and process a face in real time, can identify the age and the gender of the user, and also can apply some really cool filters. The list is not limited to these mobile apps, as Face Detection also has a wide range of applications in Surveillance, Security and Biometrics as well. …


PROGRAMMING REST APIS

Image for post
Image for post
Image by Girija Shankar Behera

In this article we will explore how to handle file uploads in REST API frameworks. Earlier I have published a few articles related to REST APIs where we have covered all the Basics, and the Constraints to make an API Restful, and then a couple of hands-on (Part 1, Part 2 and Part 3).

This time, we are going to see something different. This does not really impact on the RestFul-ness of the API, but a useful feature to have while building an API system. i.e. handling of file uploads via an API request. This article is going to be…


PROGRAMMING REST APIS

Image for post
Image for post
Image by Girija Shankar Behera

In the REST API series, this is the fifth and the final post. The first two are the theoretical ones where I’ve not covered any implementation, but looked into what REST APIs are, how to use them, and the architectural constraints in REST. In the third and the fourth articles, I’ve been developing an API system for a Book Catalogue application using all the knowledge gained in the first two posts about REST. If you haven’t been to these posts, then please have a look and then come back here.

This post extends the development further. Specially, I’m going to…


PROGRAMMING REST APIS

Image for post
Image for post
Image by Girija Shankar Behera

This is the fourth post in the REST API series. In the first two posts, we explored the basics of REST APIs, how to use them, and the architectural constraints. In the previous post, we started with developing a Book Catalogue API system with the existing knowledge on REST APIs. For implementation details, I’ve used Django REST Framework because of its rich support for building web applications.

This article extends the development further. We were done with building the API endpoint to get a list of Books in the previous article. In this, we will continue with creating the APIs…


PROGRAMMING REST APIS

Image for post
Image for post
Image by Girija Shankar Behera

Over the last two posts, I’m exploring REST APIs. We covered the basic details of REST APIs, the request and response, and what they are made up of, methods that can be used in REST. And then we also explored the architectural constraints of REST. We also discuss the GitHub use case which was quite interesting while learning. This time, I’m finally going to use all those knowledge and develop a API service using REST.

Let’s first design the whole application(not yet done).

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store