caffe
caffe copied to clipboard
question about "ssd_detect.cpp"
thanks to SSD author's effort,i'v accomplished using SSD to detect vehicle in my own vedio.But my question goes to the "ssd_detect.cpp" belong to caffe-ssd/examples/ssd,1.i'm confuse about the use of it. can i use the ssd_detect.cpp to work as a API to served my c++ program? maybe change the input from single img to vedio? ssd_detect.cpp's input is img. can anyone help me out? thank you!
you can transform the detection code into a class, for example, change ssd_detect.cpp to ssd.hpp. then include the ssd.hpp in your own detection scripts. when you compile the code, remember linking libcaffe.so.