Skip to content

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

Notifications You must be signed in to change notification settings

Nada-Nasser/Animal-Images-Classifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

Stars

Watchers

Forks