/Non-Deep-Learning-Grocery-Product-Classification

Perform grocery product classification based on feature detection and description

Primary LanguageC++MIT LicenseMIT

Non-Deep Learning Grocery Product Classification

This software uses OpenCV's feature detection and description to perform classification of grocery products. To use this, you first need to extract and describe keypoints using this repo. Please see the demo of the software in the demo.mp4 file.

Dependencies for Running Locally

Basic Build Instructions

  1. Clone this repo.
  2. Put the directory of the build file of your OpenCV in the CMakeLists.txt.
  3. Put all of the products detected keypoints files (the ones with txt filetype) in ref/keypoints/ folder. Some examples are provided for references.
  4. Put all of the products keypoints descriptors files (the ones with xml filetype) in ref/descriptors/ folder. Some examples are provided for references.
  5. Make a build directory in the top level directory: mkdir build && cd build
  6. Compile: cmake .. && make
  7. Run it: ./product_classification.

Video Demo

Video Demo