Build an Object Classification App

Build an Object Classification App

A guide to building an AI model using TensorFlow, Python, and matplotlib, and packaging it for the web using Ruby on Rails. In this article, I will cover the functionality and architecture of this app from a practical, code-first approach.

I was recently tasked with building a web API for fruit classification. I realized that such a product would need to have the ability to detect general objects to weed out images of non-fruits. So I decided that I would start the project by getting my hands dirty by exposing a TensorFlow model to the web.

In this article, I will cover the functionality and architecture of this app from a practical, code-first approach. At a high level, the project will be split between its AI and web layers, and I will give you a guided tour of how I glued them together.

In case you want to jump straight to the code, check out the GitHub repository. An installation guide is included in the repo so you can take the app for a spin locally (tested on Mac and Ubuntu). Alternatively, you can view the live app here.

So without further ado, here is a general object classification model I hacked together with TensorFlow, Python, and Ruby on Rails.

artificial-intelligence tensorflow programming ruby-on-rails python

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

Ruby On Rails In Machine Learning & Artificial Intelligence-Yay Or Nay?

Ruby On Rails In Machine Learning & Artificial Intelligence-Yay Or Nay? - Find out here that Should you use Ruby on Rails in Machine Learning and Artificial Intelligence or not.

Artificial Intelligence with Python | Artificial Intelligence Tutorial

"Artificial Intelligence With Python" will provide you with a comprehensive and detailed knowledge of Artificial Intelligence concepts with hands-on examples.

Hire Ruby on Rails Developer | Hire RoR Developer

#1 Ruby on Rails development company. Hire Ruby on rails developer or a team to build secure, scalable and complex web solutions with a quick turnaround time.

Guide to Python Programming Language

Guide to Python Programming Language

"Rewrite your Software," says Creator of Ruby on Rails

David Heinemeier Hansson is the creator of Ruby on Rails, co-founder & CTO of Basecamp, best-selling author, Le Mans class-winning race car driver, family man, frequent podcast guest, and inspirational conference speaker.