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

test_digital_image_processing -> test_local_binary_pattern replacing a large image with a smaller one #10161

Merged
merged 10 commits into from
Oct 9, 2023
Prev Previous commit
Next Next commit
Apply suggestions from code review
  • Loading branch information
tianyizheng02 authored Oct 9, 2023
commit 204b73cd2ad09b7a7b521ea2ca028c3ef4c06931
2 changes: 1 addition & 1 deletion digital_image_processing/test_digital_image_processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def test_local_binary_pattern():
from os import getenv # Speed up our Continuous Integration tests

file_name = "lena_small.jpg" if getenv("CI") else "lena.jpg"
file_path = f"digital_image_processing/image_data/{file_name}.jpg"
file_path = f"digital_image_processing/image_data/{file_name}"

# Reading the image and converting it to grayscale
image = imread(file_path, 0)
Expand Down