Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Try using the one at sample/c/bgfg_codebook.cpp. It compiles fine for me on Linux

 g++ bgfg_codebook.cpp -o bgfg_codebook -lopencv_core -lopencv_highgui -lopencv_imgproc -lopencv_legacy