Skip to content

shi-wal/CBIR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Content-Based Image Retrieval (CBIR) Using Color, Shape, Texture Descriptors and Features

This project implements a Content-Based Image Retrieval (CBIR) system using color, shape, and texture descriptors. The goal is to enable efficient image search and retrieval by analyzing visual content and comparing images based on low-level features and deep learning techniques.

Features

  • Extraction of color features (e.g., color histograms)
  • Extraction of shape features (e.g., edge detection, contour analysis)
  • Extraction of texture features (e.g., GLCM, LBP)
  • Image similarity comparison using feature descriptors
  • Experimentation with Siamese neural network (deep learning variant)
  • Interactive Jupyter notebooks for analysis and visualization

Technologies Used

  • Python 3
  • Jupyter Notebook
  • OpenCV
  • NumPy, Pandas
  • scikit-image
  • Matplotlib, Seaborn
  • TensorFlow / Keras (for Siamese network)

Project Structure

├── cbir-3.ipynb # Core notebook for color, shape, texture feature extraction
├── cbir-4.ipynb # Extended CBIR analysis and experiments
├── siamese2.ipynb # Deep learning based CBIR with Siamese network

Setup Instructions

  1. Clone the Repository: git clone https://github.com/shi-wal/CBIR.git

  2. Install Dependencies: Use pip to install requirements: pip install opencv-python numpy pandas scikit-image matplotlib seaborn tensorflow

  3. Run Notebooks:

  • Launch Jupyter Notebook
  • Open the .ipynb files and run the cells in sequence
  • Follow markdown instructions in each notebook for dataset paths and parameters

Usage

  • Add your image dataset and update paths in the notebooks
  • Extract features and perform image similarity queries
  • Test the Siamese neural network notebook for deep learning-based retrieval

Results

Sample outputs and retrieval results are shown in each notebook. You can visualize which images are most similar according to color, shape, texture, or deep learning features.

License

This project is free to use for learning and research purposes.

Author

Created by shi-wal

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published