Caffe: How do I test my own video with SSD?

Created on 30 Jun 2016  Â·  5Comments  Â·  Source: weiliu89/caffe

When I run python examples/ssd/ssd_pascal_webcam.py, I Failed to open webcam: 0.
It seems that I need a webcam connnected to SSD,but how do I test a video with SSD named demo.mp4 that already exits in my directory?

Most helpful comment

@CPFLAME @Mudwall You could use/modify this code to test image/video using a SSD model.

All 5 comments

You can modify the video_data_layer.cpp to read video file instead of webcam.

Thanks a lot , I will try though it seems a little difficult for me.By the way,SSD is a wonderful project.

How can I test an image with caffemodel?
What does the 'net.blobs['detectionOutput']' with shape 1x1x200x7 mean?
How can I get the detection loacations and score?

@Mudwall, please refer to here for how to use the model to test an image. The first element in each row is image_id in the batch, the rest is described in the link.

@CPFLAME @Mudwall You could use/modify this code to test image/video using a SSD model.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tumitx picture tumitx  Â·  5Comments

alenaliu picture alenaliu  Â·  3Comments

siddharthm83 picture siddharthm83  Â·  4Comments

zhenxing9968 picture zhenxing9968  Â·  7Comments

zhang11wu4 picture zhang11wu4  Â·  4Comments