Last active
September 8, 2020 14:40
-
-
Save pranjalAI/56631da1cb58e77c931bb7a1b716be97 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
test_image=cv2.imread("IMAGE_PATH") | |
test_image = np.expand_dims(test_image, axis=0) | |
out=np.argmax(model_loaded.predict(test_image)) | |
Ans=np.where(out==0, "Middle", | |
(np.where(out==1,"Old", | |
"Young"))).item() | |
print(Ans+" age person.") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment