🌐
Medium
becominghuman.ai › building-an-image-classifier-using-deep-learning-in-python-totally-from-a-beginners-perspective-be8dbaf22dd8
Simple Image Classification using Convolutional Neural Network — Deep Learning in python. | by Venkatesh Tata | Becoming Human: Artificial Intelligence Magazine
April 5, 2025 - Simple Image Classification using Convolutional Neural Network — Deep Learning in python. We will be building a convolutional neural network that will be trained on few thousand images of cats and …
🌐
Coursera
coursera.org › browse › data science › machine learning
Basic Image Classification with TensorFlow
In this 2-hour long project-based course, you will learn the basics of using Keras with TensorFlow as its backend and use it to solve a basic image classification problem. By the end of this project, you will have created, trained, and evaluated a Neural Network model that will be able to predict digits from hand-written images with a high degree of accuracy.
Rating: 4.6 ​ - ​ 130 votes
People also ask

What is the learning experience like with Guided Projects?
You'll learn by doing through completing tasks in a split-screen environment directly in your browser. On the left side of the screen, you'll complete the task in your workspace. On the right side of the screen, you'll watch an instructor walk you through the project, step-by-step.
🌐
coursera.org
coursera.org › browse › data science › machine learning
Basic Image Classification with TensorFlow
Can I complete this Guided Project right through my web browser, instead of installing special software?
Yes, everything you need to complete your Guided Project will be available in a cloud desktop that is available in your browser.
🌐
coursera.org
coursera.org › browse › data science › machine learning
Basic Image Classification with TensorFlow
Who are the instructors for Guided Projects?
Guided Project instructors are subject matter experts who have experience in the skill, tool or domain of their project and are passionate about sharing their knowledge to impact millions of learners around the world.
🌐
coursera.org
coursera.org › browse › data science › machine learning
Basic Image Classification with TensorFlow
🌐
ProjectPro
projectpro.io › blog › deep learning for image classification in python with cnn
Deep Learning for Image Classification in Python with CNN
October 28, 2024 - Image Classification Python-Learn to build a CNN model for detection of pneumonia in x-rays from scratch using Keras with Tensorflow as backend.
🌐
Google AI
ai.google.dev › google ai edge › image classification model customization guide
Image classification model customization guide | Google AI Edge | Google AI for Developers
January 26, 2026 - This notebook shows the end-to-end process of customizing an ImageNet pretrained image classification model for recognizing flowers defined in a user customized flower dataset. This section describes key steps for setting up your development environment to retrain a model. These instructions describe how to update a model using Google Colab, and you can also use Python in your own development environment.
🌐
Kapernikov
kapernikov.com › home › tutorial: image classification with scikit-learn
Tutorial: image classification with scikit-learn – Kapernikov
March 1, 2021 - In this tutorial, we will set up ... pipeline in scikit-learn to preprocess data and train a model. As a test case, we will classify animal photos, but of course the methods described can be applied to all kinds of machine learning problems. For this tutorial we used scikit-learn version 0.24 with Python 3.9.1, on ...
🌐
GeeksforGeeks
geeksforgeeks.org › machine learning › image-classification-using-support-vector-machine-svm-in-python
Image classification using Support Vector Machine (SVM) in Python - GeeksforGeeks
July 23, 2025 - import pandas as pd import os from skimage.transform import resize from skimage.io import imread import numpy as np import matplotlib.pyplot as plt from sklearn import svm from sklearn.model_selection import GridSearchCV from sklearn.model_selection import train_test_split from sklearn.metrics import accuracy_score from sklearn.metrics import classification_report · Download the cat's vs dog's dataset and labeled it as 0,1 in the following way: Python3 · Categories=['cats','dogs'] flat_data_arr=[] #input array target_arr=[] #output array datadir='IMAGES/' #path which contains all the categories of images for i in Categories: print(f'loading...
🌐
OpenCV
opencv.org › home
OpenCV - Open Computer Vision Library
February 9, 2021 - OpenCV provides a real-time optimized Computer Vision library, tools, and hardware. It also supports model execution for Machine Learning (ML) and Artificial Intelligence (AI).
Find elsewhere
🌐
Keras
keras.io › examples › vision › image_classification_from_scratch
Keras documentation: Image classification from scratch
Image classification from scratch · Introduction · Setup · Load the data: the Cats vs Dogs dataset · Raw data download · Filter out corrupted images · Generate a Dataset · Visualize the data · Using image data augmentation · Standardizing the data · Two options to preprocess the data · Configure the dataset for performance · Build a model · Train the model · Run inference on new data · Relevant Chapters from Deep Learning with Python
🌐
IFIP News
ifipnews.org › home › image recognition and classification in python with tensorflow and keras
Image Recognition and Classification in Python with TensorFlow and Keras - IFIP News
July 20, 2023 - Due to deep learning, image classification, and face recognition, algorithms have achieved above-human-level performance and can detect objects in real-time. The first and second lines of code above imports the ImageAI’s CustomImageClassification class for predicting and recognizing images with trained models and the python os class.
🌐
GitHub
github.com › ltpitt › python-jupyter-image-classification
GitHub - ltpitt/python-jupyter-image-classification: Neural Network implementation that can perform image classification
In this project, we'll classify images from the CIFAR-10 dataset. The dataset consists of airplanes, dogs, cats, and other objects. We'll preprocess the images, then train a convolutional neural network on all the samples.
Starred by 6 users
Forked by 9 users
Languages   Jupyter Notebook 92.4% | Python 7.6% | Jupyter Notebook 92.4% | Python 7.6%
🌐
Medium
medium.com › @zeniaharis1 › building-an-ai-image-classification-model-using-python-and-convolutional-neural-networks-07bf9c732f9c
Building an AI Image Classification Model using Python and Convolutional Neural Networks | by Zenia.H. | Medium
November 17, 2024 - This step ensures the colors display correctly. plt.imshow(img, cmap=plt.cm.binary) # This parameter is optional, if you want the image in its original color, you can remove this line. plt.show() I can confirm that the best way to get test images is to use Pixabay and find pictures of a horse, car, deer, and plane without much background clutter. Then, use Gimp (image editing app — need to download) to scale the pictures down to 32x32 pixels. (Scaling is necessary) It SHOULD look like this, these images are for the model to classify!
🌐
Google AI
ai.google.dev › google ai edge › image classification guide for python
Image classification guide for Python | Google AI Edge | Google AI for Developers
import mediapipe as mp BaseOptions = mp.tasks.BaseOptions ImageClassifierResult = mp.tasks.vision.ImageClassifier.ImageClassifierResult ImageClassifier = mp.tasks.vision.ImageClassifier ImageClassifierOptions = mp.tasks.vision.ImageClassifierOptions VisionRunningMode = mp.tasks.vision.RunningMode def print_result(result: ImageClassifierResult, output_image: mp.Image, timestamp_ms: int): print('ImageClassifierResult result: {}'.format(result)) options = ImageClassifierOptions( base_options=BaseOptions(model_asset_path='/path/to/model.tflite'), running_mode=VisionRunningMode.LIVE_STREAM, max_res
🌐
University of Toronto
cs.toronto.edu › ~kriz › cifar.html
CIFAR-10 and CIFAR-100 datasets
Each image comes with a "fine" label (the class to which it belongs) and a "coarse" label (the superclass to which it belongs). Here is the list of classes in the CIFAR-100: Yes, I know mushrooms aren't really fruit or vegetables, and bears aren't really carnivores. The python and Matlab versions ...
🌐
LinkedIn
linkedin.com › pulse › image-classification-using-deep-learning-python-muhammad-talha
Image Classification Using Deep Learning with Python
August 11, 2022 - Image classification is the Computer Vision task through which we can categorise and label the collection of pixels based on specific rules and recognize certain objects within that image.
Top answer
1 of 4
9

I will answer in 3 parts since your problem is clearly a large one and I would highly recommend manual method with cheap labour if the collection of pages does not exceed a 1000.

Part 1: Feature Extraction - You have a very large array of features to choose from in the object detection field. Since one of your requirements is rotation invariance, I would recommend the SIFT/SURF class of features. You might also find Harris corners etc. suitable. Deciding which features to use can require expert knowledge and if you have computing power I would recommend creating a nice melting pot of features and passing it through a classifier training based importance estimator.

Part 2: Classifier Selection - I am a great fan of the Random Forest classifier. The concept is very simple to grasp and it is highly flexible and non-parametric. Tuning requires very few parameters and you can also run it in a parameter selection mode during supervised training.

Part 3: Implementation - Python in essence is a glue language. Pure python implementations for image processing are never going to be very fast. I recommend using a combination of OpenCV for feature detection and R for statistical work and classifiers.

The solution may seem over-engineered but machine learning has never been a simple task even when the difference between pages is simply that they are the left-hand and right-hand pages of a book.

2 of 4
4

First, I would like to say that on my mind OpenCV is a very good tool for these kinds of manipulation. Moreover, it has a python interface well-described here.

OpenCV is highly optimized and your problem is not an easy one.

[GLOBAL EDIT : reorganization of my ideas]

Here's a few idea of features that could be used :

  • For detecting the barcodes you should maybe try to do a distance transform (DistTransform in OpenCV) if the barcode are isolated. Maybe you will be able to find interest pointseasily with match or matchShapes. I think it's feasible because the barcodes shoudl have the same shape (size, etc). The score of the interest points could be used as a feature.

  • The moments of the image could be useful here because you have different kinds of global structures. This will be maybe sufficient for making distinction between A & B pages (see there for the openCV function) (you will get invariant descriptors by the way :) )

  • You should maybe try to compute vertical gradient and horizontal gradient. A barcode is a specific place where vertical gradient==0 and horizontal gradient!=0. This main advantage is the low cost of these operations since your goal is only to check if there's such a zone on your page. You can find interest zone and use its score as a feature

Once you have your features, you can try to do supervised learning and test generalization. Your problem require very few false negative (because you are going to throw away some pages) so you should evaluate your performance with ROC curves and look carefully at the sensistivity (that should be high). For the classification, you could use regression with lasso penalization to find the best features. The post of whatnick also gives goods ideas and other descriptors (maybe more general).

🌐
GeeksforGeeks
geeksforgeeks.org › machine learning › python-image-classification-using-keras
Python | Image Classification using Keras - GeeksforGeeks
July 11, 2025 - Let's discuss how to train the model from scratch and classify the data containing cars and planes. Train Data: Train data contains the 200 images of each car and plane, i.e. in total, there are 400 images in the training dataset
🌐
scikit-learn
scikit-learn.org › stable › modules › tree.html
1.10. Decision Trees — scikit-learn 1.8.0 documentation
Decision Trees (DTs) are a non-parametric supervised learning method used for classification and regression. The goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features.
🌐
Cloudinary
cloudinary.com › home › an intro to image classification using python
An Intro to Image Classification Using Python | Cloudinary
January 14, 2026 - So in this article, we’ll walk through how to create a basic image classification model, train it on a sample dataset, and use it to predict image categories. Then, we’ll look at how Cloudinary’s AI Vision can simplify image classification using Python with powerful image tagging capabilities.
🌐
freeCodeCamp
freecodecamp.org › news › creating-your-first-image-classifier
How to create a simple Image Classifier
July 18, 2019 - Our goal is to train a deep learning model that can classify a given set of images into one of these 10 classes. Now that we have our dataset, we should move on to the tools we need. There are many libraries and tools out there that you can choose based on your own project requirements. For this one I will stick to the following: Numpy - Python library for numerical computation ·
🌐
Medium
lopezyse.medium.com › computer-vision-image-classification-using-python-913cf7156812
Computer Vision | Image Classification using Convolutional Neural Networks (CNNs) | by Diego Lopez Yse | Medium
November 5, 2024 - In this article, we’ll implement a Convolutional Neural Network (CNN) for image classification using Python and the Keras Deep Learning library. We’ll work with the CIFAR-10 dataset, which contains 10 classes of common objects like airplanes, cars, and birds.