opencv-python-blueprints icon indicating copy to clipboard operation
opencv-python-blueprints copied to clipboard

error params order for row and cols in ` plot_power_spectrum`

Open pjgao opened this issue 4 years ago • 1 comments

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)

pjgao avatar Apr 26 '21 11:04 pjgao

Can you submit a pull request? Thanks!

mbeyeler avatar Apr 29 '21 22:04 mbeyeler