Skip to content
zdd edited this page Apr 11, 2017 · 13 revisions

OpenSSE core library is a cross-platform library, that depends on OpenCV 3.0.0+. Please make sure you have installed OpenCV 3.0.0+ before you start.

You can compile and install OpenSSE like below:

mkdir release && cd release
cmake ..
make
make install

OpenSSE command

OpenSSE includes a convenient command sse to help to play with it after installed.

usage: sse [--help] <command> [<args>]

These are common sse commands used in various situations:

    filelist	Collect image filelist
    extract	Extract feature descriptors
    vocabulary	Generate vocabulary
    quantize	Quantize feature
    index	Create inverted index file
    search	Sketch Search

Run 'sse <command> --help' for more information on a command.

Now, go to How to train data page, and try this command.

How to use code

You can use OpenSSE library in your code with:

INCLUDEPATH += -I/usr/local/include
LIBS += -L/usr/local/lib/ \
            -lopencv_core -lopencv_imgproc -lopencv_imgcodecs -lopencv_highgui -lopencv_features2d -lopencv_ml \
            -lopensse
}

and include

#include "opensse/opensse.h"