Skip to content

defi0x1/Classification-SIFT-SVM

Repository files navigation

Classification-SIFT-BoW-SVM

Build a classifier to classsification transport using sift, bag of words and svm

Tree Project

Root/

data  # Data contains total 1854 image of 5 classes: bus, car, moto, pedestrian 

data_loader.py  # Imread image and label for data

sift_extractors.py # Extract features with SIFT and Build Bag of Word

build_model.py  # Build model SVM and training

gridSearchCV    # implement GridSearchCV find Hyper-params

Hyperparameters

  • Number of centroid in Kmean: 60
  • Penalty parameter C of the error term in SVM: 30

Label

  • 'moto': 0
  • 'car': 1
  • 'pedestrian': 2
  • 'truck': 3
  • 'bus': 4

Statistic Data

- Statistics All Classes

- Statistics Classes

Accuracy

- Accuracy score: 72.9% - test size: 0.2 

Using GridSearchCV

- Best params

    'clf__C': 5,
    'clf__gamma': 0.01,
    'clf__kernel': 'rbf'
    
 - Accuracy:  75.72% +/-1.52%

Requirements

- opencv-contrib-python==3.4.2.16

- opencv-python==3.4.2.16

About

Build a classifier to classify transport using sift and svm

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy