Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error params order for row and cols in plot_power_spectrum #37

Open
pjgao opened this issue Apr 26, 2021 · 1 comment
Open

error params order for row and cols in plot_power_spectrum #37

pjgao opened this issue Apr 26, 2021 · 1 comment

Comments

@pjgao
Copy link

pjgao commented Apr 26, 2021

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)
@mbeyeler
Copy link
Owner

Can you submit a pull request? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants