Quan Truong
Quan Truong

Reputation: 341

How can i validate image content using jQuery?

Example i'm uploading a file type image. And the image must be an specific animal, example : dogs. So how can i validate that the picture uploaded is dogs (not any different species or something else) using jQuery ? P/s : This is the first time i asking a question in this site. I'm not good as English, so apologizing for my English description. Thank you for concern !

Upvotes: 1

Views: 237

Answers (1)

Hybrid
Hybrid

Reputation: 7049

As @Tillson said, you are looking for an image classifier.

One that seems to be popular is tensorflow.js. You can see a cool tutorial here, and there is even a package called tensorflow-animals which has been trained to detect animals, including dogs!

Upvotes: 2

Related Questions