Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

bounding boxes for caffe model matches

Hello,

I am using open cv 3.4.1 and i am sucessfuly able to import and run the google caffe model https://docs.opencv.org/3.4.0/d5/de7/tutorial_dnn_googlenet.html

My problem is that i want to visualize the matches in the picture. After calling forward i get the matrix of probabilities for each classifier. I need to convert this into x,y,width,height or find another to retrieve these information. Everything i found on the internet is using the Blob class which is outdated in 3.4.1

https://docs.opencv.org/3.4.0/da/d9d/tutorial_dnn_yolo.html Is doing what i want but its based on yolo - and from the code i assume the result mat is not 1 * 1000 like returned from caffe.

Any help is welcome. Thank you and Greetings, Holger