Skip to content

priorbox

Prior box for SSD

This layer generates the prior boxes designated pairs of width and height across all dimensions . The maximum number of prior boxes per each pixel is 8.


Parameter

  • img_w : Integer, width of input image.
  • img_h : Integer, height of input image.
  • box_widths : Array of integers, widths of bbox, the array size is up to 8 and must be the same as box_heights.
  • box_heights : Array of integers, heights of bbox, the array size is up to 8 and must be the same as box_widths.
  • variances : Array of 4 numbers, coefficients of prior box for each x position, y position, width, height.
  • clips : Boolean, if set true, clips the detected box outside the image.