Skip to content
This repository was archived by the owner on Nov 19, 2020. It is now read-only.
This repository was archived by the owner on Nov 19, 2020. It is now read-only.

Can HOG to work with BoW'2 with SVM or OSVM #365

@gkomix88

Description

@gkomix88

Hi Ceasar and All,

Thanks for the great work in Accord.NET! It make everything sound possible :)

I m currently trying to apply object recognition using HOG with Bag of Visual Words and classifier by SVM or OSVM. However, it seem the HOG could not work with the BoW'2 class. For instance,

var kmodes = new KModes(numberOfWords, new Hamming());
var detector = new HistogramsOfOrientedGradients(9, 3, 6);
var hogBow = new BagOfVisualWords<FeatureDescriptor, double[]>(detector, kmodes);
hogBow.Compute(TrainImages.Values.ToArray());

Could anyone assist on this case? Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions