weiliu89 / caffe

Caffe: a fast open framework for deep learning.
http://caffe.berkeleyvision.org/
Other
4.77k stars 1.67k forks source link

detection for images #113

Open 2016xjtuzyt opened 8 years ago

2016xjtuzyt commented 8 years ago

I used examples/ssd/ssd_detect.cpp to test single image, and use the "./build/examples/ssd/ssd_detect.bin ./models/VGGNet/VOC0712/SSD_300x300/deploy.prototxt ./models/VGGNet/VOC0712/SSD_300x300/VGG_VOC0712_SSD_300x300_iter_60000.caffemodel ./examples/images/140.jpg" , but there is no result. there are some wrong like "����JFIF��C 15 0.0235499 47 58 74 115 ����JFIF��C 15 0.0234755 119 4 137 46 ����JFIF��C 15 0.0229019 134 0 173 29 ����JFIF��C 15 0.0226383 143 51 176 122 ����JFIF��C 15 0.0223518 148 16 162 39 ����JFIF��C 15 0.0218525 101 54 135 90 ����JFIF��C 20 0.0219845 44 7 85 65 " how can i test image using the file of ssd_detect.cpp Thanks

weiliu89 commented 8 years ago

Please refer to the comment/help in ssd_detect

In short, you should provide a file which contains the image path, not the image itself.