The MobileNetV2 model pretrained on imagenet and fine-tuned on the skin cancer dataset.
The default input size for this model is 224x224.
Install npm install mobilenetv2skincancer
import SkinCancerPrediction from 'mobilenetv2skincancer';
const nvSample = './assets/nv_sample.jpg';
const run = async () => {
const predictor = await ResNetPredictor.create();
const prediction = await predictor.classify(nvSample);
return prediction;
}
```odel(ResNetURL);