How to build an image automatic rotator in 24 hours

How to build an image automatic rotator in 24 hours

The simplicity of Neural Network and Keras’ tools. Recently, I was challenged to do this task which basically asked to use neural networks to predict the image orientation.

Recently, I was challenged to do this task which basically asked to use neural networks to predict the image orientation (upright, upside down, left or right) and with that prediction rotate the image to the correct position (upright), all of this in 24 hours!

My experience with neural networks up to this point was using the Multi-layer Perceptron inside Scikit-learn, and I had never tackled image processing. Which meant it was time to bang my head against the wall!

The training set was composed of approximately 50 thousand images with their label stored in a csv that looked like this:

Image for post

In the challenge description it was hinted the use of the CIFAR10 model and the respective example on Keras. So, for a neural network beginner like myself, this was a huge leap.

The plus side of neural networks is that there is no need to reinvent the wheel, there are already many pre-trained networks for diverse purposes and they are available for anyone.

With one problem solved, but still running against time, I had focus on the image processing.

Image for post

Well, several hours, stackoverflow posts and image processing test functions later, I was finally able to convert these images into vectors, however I still needed to attach the label to each vector. At this point desperation took over.

image-processing data-science neural-networks data science

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

50 Data Science Jobs That Opened Just Last Week

Data Science and Analytics market evolves to adapt to the constantly changing economic and business environments. Our latest survey report suggests that as the overall Data Science and Analytics market evolves to adapt to the constantly changing economic and business environments, data scientists and AI practitioners should be aware of the skills and tools that the broader community is working on. A good grip in these skills will further help data science enthusiasts to get the best jobs that various industries in their data science functions are offering.

Data Science With Python Training | Python Data Science Course | Intellipaat

🔵 Intellipaat Data Science with Python course: https://intellipaat.com/python-for-data-science-training/In this Data Science With Python Training video, you...

Applications Of Data Science On 3D Imagery Data

The agenda of the talk included an introduction to 3D data, its applications and case studies, 3D data alignment and more.

Data Science Course in Dallas

Become a data analysis expert using the R programming language in this [data science](https://360digitmg.com/usa/data-science-using-python-and-r-programming-in-dallas "data science") certification training in Dallas, TX. You will master data...

32 Data Sets to Uplift your Skills in Data Science | Data Sets

Need a data set to practice with? Data Science Dojo has created an archive of 32 data sets for you to use to practice and improve your skills as a data scientist.