caffe icon indicating copy to clipboard operation
caffe copied to clipboard

question about "ssd_detect.cpp"

Open michael5lin opened this issue 9 years ago • 1 comments

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!

michael5lin avatar Dec 09 '16 13:12 michael5lin

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.

ShadowLau avatar Dec 16 '16 04:12 ShadowLau