opencv-python-blueprints
opencv-python-blueprints copied to clipboard
error params order for row and cols in ` plot_power_spectrum`
code this line saliency.py#176 should be
frame = cv2.copyMakeBorder(frame, 0, nrows-rows, 0, ncols - cols,
cv2.BORDER_CONSTANT, value=0)
not
frame = cv2.copyMakeBorder(frame, 0, ncols - cols, 0, nrows - rows,
cv2.BORDER_CONSTANT, value=0)
Can you submit a pull request? Thanks!