caffe2_cpp_tutorial icon indicating copy to clipboard operation
caffe2_cpp_tutorial copied to clipboard

In pretrained.cc, how to get the bounding boxes?

Open andviane opened this issue 6 years ago • 1 comments

In pretrained.cc, is it possible to obtain the bounding boxes and not just the matching scores? Or is this functionality normally implemented already on the top of the Caffe2?

andviane avatar Mar 08 '19 17:03 andviane

@andviane Bounding Boxes are usually a computer vision task, not a deep learning task. I know there are DL-based face detectors which provide bounding boxes, but it's a lot easier if you just use OpenCV or DLib (for faces). It can be done with Caffe2/PyTorch/etc but you'd have to train the classifier to return pixel values or coordinates I'd suppose.

alexge233 avatar Mar 22 '19 18:03 alexge233