What-dog

what-dog

What 🐶 is this?

Get the breed of a dog from an image using Microsoft's what-dog.

Get it: npm install --save what-dog

Sample usage:

1
2
3
4
5
6
7
8
9
10
11
12
13
const whatDog = require('what-dog');

((async () => {
    console.log(await whatDog('http://imgur.com/B7a15F5.jpg'))
})());

/*
{
  "isDog": true,
  "breed": "Norfolk Terrier",
  "about": "Spirited, small but sturdy, feisty yet sweet personality"
}
*/

GIF FTW!

what-dog.gif

Suggest a module

Comments