Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 2.13 KB

README.md

File metadata and controls

34 lines (25 loc) · 2.13 KB

Animal-Images-Classifier

Python API can classify Base64 encoded images to determine if there is a pet in the image or not.

⭐ Main Features:

  • The API returns True if the animal in the image is not wild and returns False if the animal in the image is wild.
  • The API returns False if there is no animal in the image
  • Using the generated public URL, a POST request can be sent that has a JSON body include the encoded image.
  • The API using an image recognition model, get the animal name from the image.
  • Using NLTK and the name recognized from the image, check if the animal in the image is wild or not.

💻 Test Cases

{ file : "encoded image" }
image Base64 equivalent Request URL Expected Output

here

https://b45dbd2667f8.ngrok.io/classifyimage/

True

here

https://b45dbd2667f8.ngrok.io/classifyimage/

False

here

https://b45dbd2667f8.ngrok.io/classifyimage/

False

here

https://b45dbd2667f8.ngrok.io/classifyimage/

True

⚙️ Built With