TDS Archive

An archive of data science, data analytics, data engineering, machine learning, and artificial intelligence writing from the former Towards Data Science Medium publication.

Member-only story

Image (Meta)data Feature Extraction in Python

Olivia Tanuwidjaja
TDS Archive
Published in
7 min readSep 20, 2022

--

When working with image data, object recognition and its application have always been on top of mind for Data Analysts and Data Scientists. There has been very little focus on utilizing the metadata from these images. Truth is, we can get quite a lot of insights from the image metadata alone. In this article, I’ll be sharing how we can extract some prominent metadata-related features from an image (photo) file to further be processed and analyzed.

The complete code used in this analysis is shared under this Github project.

Understanding digital images

Computer stores digital image as an array, or a matrix, of square pixels (picture elements) arranged in columns and rows: in other words, a 2-dimensional matrix. Depending on how big or small these square pixels are, the image might appear more mosaic-like (pixelated) or smoother; which we refer to as image resolution.

A digital image is an array of squared pixels (Image by Author)

These pixels contain information about color and intensity. For a grayscale image, the pixels don’t have color information but have intensity information in an 8-bit integer giving 256 possible different shades of…

--

--

TDS Archive
TDS Archive

Published in TDS Archive

An archive of data science, data analytics, data engineering, machine learning, and artificial intelligence writing from the former Towards Data Science Medium publication.

Olivia Tanuwidjaja
Olivia Tanuwidjaja

Written by Olivia Tanuwidjaja

Analytics geek🤓, playing with data and beyond 🚀. Views are my own.

No responses yet