Created
December 18, 2022 08:40
-
-
Save Sachin-crypto/5b96685b2bc4681b77525abae6590122 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Function to display and predicting the Image | |
def display_and_predict(img_path_input): | |
display_img = Image.open(img_path_input) | |
plt.imshow(display_img) | |
plt.show() | |
img = preprocess_img(img_path_input) | |
pred = predict_result(img) | |
print("Prediction: ", pred) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@Sachin-crypto