@joshyzou/skinconditiondetector
Version:
Detects 15 of the most common skin conditions.
10 lines (8 loc) • 327 B
JavaScript
module.exports = async function SkinAi(imageLink){
const fetch = require("node-fetch");
const { URLSearchParams } = require('url');
const params = new URLSearchParams();
params.append('url', imageLink);
let x = await fetch('https://ai-skin-server.herokuapp.com/url', { method: 'POST', body: params })
return x;
}